IWRdsProtocolManager::NotifySessionOfServiceStop method (wtsprotocol.h)
Notifies the protocol provider that the Remote Desktop Services service has stopped for a given session.
Syntax
HRESULT NotifySessionOfServiceStop(
[in] WRDS_SESSION_ID *SessionId
);
Parameters
[in] SessionId
A pointer to a WRDS_SESSION_ID structure that uniquely identifies the session.
Return value
When you are implementing this method, return S_OK if the function succeeds. If it fails, return an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | wtsprotocol.h |