Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies a wait handle to set when the operation completes.
Syntax
HRESULT SetWaitHandle(
[in] HANDLE hWaitHandle
);
Parameters
[in] hWaitHandle
The wait handle to set.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
hWaitHandle is NULL. |
|
The method failed. |
Remarks
Do not close hWaitHandle until after the asynchronous operation has completed.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdclient.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |