USBCAMD_INTERFACE structure (usbcamdi.h)

The USBCAMD_INTERFACE structure defines a set of services related to the USB bus interfaces.

Syntax

typedef struct {
  INTERFACE                      Interface;
  PFNUSBCAMD_WaitOnDeviceEvent   USBCAMD_WaitOnDeviceEvent;
  PFNUSBCAMD_BulkReadWrite       USBCAMD_BulkReadWrite;
  PFNUSBCAMD_SetVideoFormat      USBCAMD_SetVideoFormat;
  PFNUSBCAMD_SetIsoPipeState     USBCAMD_SetIsoPipeState;
  PFNUSBCAMD_CancelBulkReadWrite USBCAMD_CancelBulkReadWrite;
} USBCAMD_INTERFACE, *PUSBCAMD_INTERFACE;

Members

Interface

Describes the interface that USBCAMD exports for use by other drivers.

USBCAMD_WaitOnDeviceEvent

Pointer to the camera minidriver defined USBCAMD_WaitOnDeviceEvent service.

USBCAMD_BulkReadWrite

Pointer to the camera minidriver defined USBCAMD_BulkReadWrite service.

USBCAMD_SetVideoFormat

Pointer to the camera minidriver defined USBCAMD_SetVideoFormat service.

USBCAMD_SetIsoPipeState

Pointer to the camera minidriver defined USBCAMD_SetIsoPipeState service.

USBCAMD_CancelBulkReadWrite

Pointer to the camera minidriver defined USBCAMD_CancelBulkReadWrite service.

Remarks

The camera minidriver may obtain the USBCAMD_INTERFACE entry points at any point after it has received SRB_INITIALIZATION_COMPLETE. The IRP for acquiring a USBCAMD_INTERFACE is IRP_MN_QUERY_INTERFACE and must be sent at IRQL = PASSIVE_LEVEL. Typically, a camera minidriver obtains the addresses of the USBCAMD_INTERFACE entry points once toward the end of the initialization of the camera minidriver. The members of the USBCAMD_INTERFACE structure are filled with the minidriver's entry points as described in Acquiring USBCAMD2 Features

USBCAMD_INTERFACE is not supported in the original USBCAMD.

Requirements

Requirement Value
Header usbcamdi.h (include Usbcamdi.h)

See also

INTERFACE

IRP_MN_QUERY_INTERFACE

SRB_INITIALIZATION_COMPLETE

USBCAMD_BulkReadWrite

USBCAMD_CancelBulkReadWrite

USBCAMD_SetIsoPipeState

USBCAMD_SetVideoFormat

USBCAMD_WaitOnDeviceEvent