IWSDAsyncResult::SetWaitHandle (Windows Embedded CE 6.0)
1/6/2010
This method specifies a wait handle to set when the operation completes.
Syntax
HRESULT SetWaitHandle(
HANDLE hWaitHandle
);
Parameters
- hWaitHandle
[in] The wait handle to set.
Return Value
The following table shows the possible error code return values.
Error code | Description |
---|---|
S_OK |
This method completed successfully. |
E_INVALIDARG |
hWaitHandle is NULL. |
E_FAIL |
This method failed. |
Remarks
Do not close hWaitHandle until after the asynchronous operation has completed.
Requirements
Header | wsdapi.h |
Library | wsdapi.lib |
Windows Embedded CE | Windows Embedded CE 6.0 R2 |