ICreateDeviceAccessAsync::Wait method (deviceaccess.h)
The Wait method waits a specified length of time for an asynchronous bind operation that is in progress to finish.
Syntax
HRESULT Wait(
[in] DWORD timeout
);
Parameters
[in] timeout
Timeout value, in milliseconds, for the wait call. Use INFINITE if you want the caller to wait until the operation finishes.
Return value
This method supports standard return values, in addition to these:
Return code | Description |
---|---|
|
The wait was successful and the operation finished. |
|
The wait timed out before the operation finished. |
|
The operation has already closed when this method was called. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | deviceaccess.h |
Library | Deviceaccess.lib |