// usbcamdi.h
PCAM_FREE_BW_ROUTINE_EX PcamFreeBwRoutineEx;
NTSTATUS PcamFreeBwRoutineEx(
PDEVICE_OBJECT BusDeviceObject,
PVOID DeviceContext,
ULONG STreamNumber
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A camera minidriver's CamFreeBandwidthEx callback function selects an alternate setting within the USB video streaming interface that uses no bandwidth.
BusDeviceObjectPointer to the camera minidriver's device object created by the USB hub.
DeviceContextPointer to the camera minidriver's device context.
STreamNumberIndicates stream number.
CamFreeBandwidthEx returns STATUS_SUCCESS or an appropriate error code.
USBCAMD calls the camera minidriver's CamFreeBandwidthEx callback function after the isochronous video stream has stopped.
Typically, this function calls the USBCAMD_SelectAlternateInterface service to select the correct alternate interface and prepare for streaming video.
The original USBCAMD does not call CamFreeBandwidthEx.
This function is required.
USBCAMD_SelectAlternateInterface