PCAM_FREE_BW_ROUTINE_EX - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbcamdi.h

PCAM_FREE_BW_ROUTINE_EX PcamFreeBwRoutineEx;

NTSTATUS PcamFreeBwRoutineEx(
  PDEVICE_OBJECT BusDeviceObject,
  PVOID DeviceContext,
  ULONG STreamNumber
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-usbcamdi-pcam_free_bw_routine_ex)

Description

A camera minidriver's CamFreeBandwidthEx callback function selects an alternate setting within the USB video streaming interface that uses no bandwidth.

Parameters

BusDeviceObject

Pointer to the camera minidriver's device object created by the USB hub.

DeviceContext

Pointer to the camera minidriver's device context.

STreamNumber

Indicates stream number.

Return value

CamFreeBandwidthEx returns STATUS_SUCCESS or an appropriate error code.

Remarks

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.

See also

USBCAMD_DEVICE_DATA2

USBCAMD_SelectAlternateInterface