Return the client ID for the active client session associated with
the current thread.
Parameters
None.
Return Value
If the method succeeds, the return value is the unique ID
associated with the client session for the current thread. If there
is no client session active on the current thread, the return value
is zero.
Remarks
The GetActiveClient method is used to obtain the
client ID associated with the current thread. This means this method
will only return a client ID if it is called within an event handler
or a method called by an event handler. If this method is called
by a function that is not executing within the context of an event
handler it will return a value of zero.
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
|