Using ApplyControlToken
The ApplyControlToken function is used to change the state of an Schannel context. The first DWORD in the input buffer specifies the type of operation to be performed. This can be one of the following values:
- SCHANNEL_RENEGOTIATE
- Client applications uses this to initiate a re-negotiation of a connection. See Renegotiation Support.
- SCHANNEL_SHUTDOWN
- Gracefully close down a connection. See Shutting Down a Connection.
- SCHANNEL_ALERT
- Generate an Alert message. This is only supported on the Windows 2000 platform.