Expand Minimize

InterfaceReference routine

The InterfaceReference routine increments the reference count to the interface.

Syntax


VOID InterfaceReference(
  _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 routine 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

Desktop

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

Show:
© 2015 Microsoft