Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
[IWTSProtocolConnection::ConnectNotify is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::ConnectNotify.]
Signals that the session has been initialized.
Syntax
HRESULT ConnectNotify(
[in] ULONG SessionId
);
Parameters
[in] SessionId
An integer that contains the session ID associated with the client.
Return value
None
Remarks
This is an event notification and you should return immediately from this method. To avoid a possible deadlock, you should not make any function or method calls that will directly or indirectly result in a Remote Desktop Services API being called. If you need to make any outbound call, you should start a new thread and make the outbound call from the new thread.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2008 R2 |
| Target Platform | Windows |
| Header | wtsprotocol.h |