// usbcamdi.h
PVOID USBCAMD_AdapterReceivePacket(
[in] PHW_STREAM_REQUEST_BLOCK Srb,
[in] PUSBCAMD_DEVICE_DATA DeviceData,
[in] PDEVICE_OBJECT *DeviceObject,
[in] BOOLEAN NeedsCompletion
);
View the official Windows Driver Kit DDI referenceNo description available.
The USBCAMD_AdapterReceivePacket function allows USBCAMD to process an adapter-based stream request block (SRB).
Srb [in]Pointer to the SRB passed to the camera minidriver's AdapterReceivePacket callback function.
DeviceData [in]Pointer to the USBCAMD_DEVICE_DATA structure that contains entry points to the camera minidriver's callback functions.
DeviceObject [in]Pointer to the device's physical device object (PDO).
NeedsCompletion [in]Specifies if USBCAMD is to process and complete the SRB request. Specify TRUE if USBCAMD is to complete the SRB request Specify FALSE to make USBCAMD ignore the SRB request and return the device context pointer.
USBCAMD_AdapterReceivePacket returns a pointer to the device-specific context for this instance of the camera.
Typically, this function is called by the camera minidriver from its AdapterReceivePacket routine.
This function can also be used by the minidriver to retrieve the device context by setting the NeedsCompletion parameter to FALSE. In this case, the DeviceData and DeviceObject parameters are ignored.