// usbcamdi.h
PCAM_FREE_BW_ROUTINE PcamFreeBwRoutine;
NTSTATUS PcamFreeBwRoutine(
PDEVICE_OBJECT BusDeviceObject,
PVOID DeviceContext
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[CamFreeBandwidth is not supported and may be altered or unavailable in the future. Instead, use CamFreeBandwidthEx. ]
A camera minidriver's CamFreeBandwidth 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.
CamFreeBandwidth returns STATUS_SUCCESS or an appropriate error code.
Camera minidrivers that must maintain backward compatibility with the original USBCAMD must use the USBCAMD_DEVICE_DATA structure and its associated callback functions (that is, callback functions that do not contain the "Ex" suffix).
USBCAMD calls the camera minidriver's CamFreeBandwidth 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.
This function is required.
USBCAMD_SelectAlternateInterface