WdfDeviceInterfaceReferenceNoOp - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfqueryinterface.h

VOID WdfDeviceInterfaceReferenceNoOp(
  [in] PVOID Context
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfqueryinterface-wdfdeviceinterfacereferencenoop)

WdfDeviceInterfaceReferenceNoOp function

Description

[Applies to KMDF only]

The WdfDeviceInterfaceReferenceNoOp method can be used for driver-defined interfaces that do not require reference counts.

Parameters

Context [in]

This parameter is not used.

Remarks

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.

Examples

For a code example that uses WdfDeviceInterfaceReferenceNoOp, see WdfDeviceAddQueryInterface.

See also

INTERFACE

WDF_QUERY_INTERFACE_CONFIG

WdfDeviceInterfaceDereferenceNoOp