Espandi Riduci a icona

WdfDeviceInterfaceDereferenceNoOp method

[Applies to KMDF only]

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

Syntax


VOID WdfDeviceInterfaceDereferenceNoOp(
  [in]  PVOID Context
);

Parameters

Context [in]

This parameter is not used.

Return value

None

Remarks

You can use the WdfDeviceInterfaceDereferenceNoOp method's address as the InterfaceDereference 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 WdfDeviceInterfaceDereferenceNoOp method, see Using Driver-Defined Interfaces.

Examples

For a code example that uses WdfDeviceInterfaceDereferenceNoOp, see WdfDeviceAddQueryInterface.

Requirements

Minimum KMDF version

1.0

Header

Wdfqueryinterface.h (include Wdf.h)

Library

Wdf01000.sys (see Framework Library Versioning.)

IRQL

Any level

See also

INTERFACE
WDF_QUERY_INTERFACE_CONFIG
WdfDeviceInterfaceReferenceNoOp

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft