| HSERVER HttpGetClientServer( |
| |
UINT nClientId |
|
| ); |
The GetClientServer method returns a handle to the server
that created the specified client session.
Parameters
- nClientId
- An unsigned integer which uniquely identifies the client session.
Return Value
If the method succeeds, the return value is the handle to the
server that created the client session. If the method fails, the
return value is INVALID_SERVER. To get extended error information,
call the GetLastError method.
Remarks
The GetClientServer method returns the handle to the server
that created the client session and is typically used within a
notification message handler. If the server is in the process of
shutting down, or the client session thread is terminating, this
method will fail and return INVALID_SERVER indicating that the
session ID is invalid.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h.
Import Library: cshtsv12.lib
See Also
|