WdfDeviceInterfaceReferenceNoOp function (wdfqueryinterface.h)
[Applies to KMDF only]
The WdfDeviceInterfaceReferenceNoOp method can be used for driver-defined interfaces that do not require reference counts.
void WdfDeviceInterfaceReferenceNoOp(
[in] PVOID Context
);
[in] Context
This parameter is not used.
None
You can use the WdfDeviceInterfaceReferenceNoOp method's address as the InterfaceReference member of the INTERFACE structure that is contained in the framework's WDF_QUERY_INTERFACE_CONFIG structure.
For more information about interface reference counts and the WdfDeviceInterfaceReferenceNoOp method, see Using Driver-Defined Interfaces.
For a code example that uses WdfDeviceInterfaceReferenceNoOp, see WdfDeviceAddQueryInterface.
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Header | wdfqueryinterface.h (include Wdf.h) |
Library | Wdf01000.sys (see Framework Library Versioning.) |
IRQL | Any level |