IWTSProtocolManager::NotifySessionOfServiceStart method

[IWTSProtocolManager::NotifySessionOfServiceStart is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolManager::NotifySessionOfServiceStart.]

Notifies the protocol provider that the Remote Desktop Services service has started for a given session.

Syntax


HRESULT NotifySessionOfServiceStart(
  [in] WTS_SESSION_ID *SessionId
);

Parameters

SessionId [in]

A pointer to a WTS_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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

End of server support

Windows Server 2008 R2

Header

Wtsprotocol.h

IDL

Wtsprotocol.idl

See also

IWTSProtocolManager

 

 

Show: