ICreateDeviceAccessAsync::GetResult method (deviceaccess.h)
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] void **deviceAccess
);
Parameters
[in] riid
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.
[out] deviceAccess
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | deviceaccess.h |
Library | Deviceaccess.lib |