Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 codeDescription
S_OK

The binding was successful.

E_ILLEGAL_METHOD_CALL

The asynchronous operation wasn't in a valid state. The bind operation was either still in progress or not yet started.

 

Requirements

Header

Deviceaccess.h

IDL

Deviceaccess.idl

Library

Deviceaccess.lib

See also

ICreateDeviceAccessAsync

 

 

Community Additions

Show:
© 2017 Microsoft