| UINT WINAPI HttpGetTaskId( |
| |
HCLIENT hClient |
|
| ); |
Return the asynchronous task identifier associated with the client session.
Parameters
- hClient
- Handle to the client session.
Return Value
If the function succeeds, the return value is non-zero integer
value that specifies a unique asynchronous task identifier. If the client
handle is not associated with an asynchronous task, the function
will return a value of zero.
Remarks
The HttpGetTaskId function will return the task ID that is
associated with a client session. This is a unique
unsigned integer value that references the worker thread that was
created to manage the asynchronous client session. This function
should only be called within an event handler that is invoked by a
background task that has been started using a function such as
HttpAsyncGetFile.
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: cshtpv12.lib
See Also
|