INTERFACE_DEREFERENCE function

The InterfaceDereference routine decrements the number of references to the interface.

Syntax

INTERFACE_DEREFERENCE InterfaceDereference;

VOID InterfaceDereference(
  _In_ PVOID BusContext
)
{ ... }

Parameters

  • BusContext [in]
    Handle to the bus context returned in the BusContext member of the USB_BUS_INTERFACE_USBDI_V0 structure by an IRP_MN_QUERY_INTERFACE request.

Return value

This function does not return a value.

Remarks

The routine definition that is provided on this reference page is an example routine whose parameters are just placeholder names. The actual prototype of the routine is declared in usbbusif.h as follows:

typedef VOID (*PINTERFACE_REFERENCE)(PVOID Context);

Requirements

Target platform

Header

Usbbusif.h (include Usbbusif.h)

See also

USB_BUS_INTERFACE_USBDI_V0

Bus Driver Interface Routines for USB Client Drivers

 

 

Send comments about this topic to Microsoft