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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for