ICreateDeviceAccessAsync::GetResult method
Retrieves an IDeviceIoControl object that's bound to the device interface that's specified in a call to the CreateDeviceAccessInstance function.
Syntax
HRESULT GetResult(
[in] REFIID riid,
[out] IUnknown **deviceAccess
);
Parameters
- riid [in]
-
An interface identifier that indicates what type of device access interface the caller wants to retrieve. The only valid value for this identifier is IID_IDeviceIoControl.
- deviceAccess [out]
-
If the binding was successful, contains an interface of the type that was supplied to the initial call to CreateDeviceAccessInstance.
Return value
This method supports standard return values, in addition to these:
| Return code | Description |
|---|---|
|
The binding was successful. |
|
The asynchronous operation wasn't in a valid state. The bind operation was either still in progress or not yet started. |
Requirements
|
Header |
|
|---|---|
|
IDL |
|
|
Library |
|
See also