// usbcamdi.h
PCAM_START_CAPTURE_ROUTINE_EX PcamStartCaptureRoutineEx;
NTSTATUS PcamStartCaptureRoutineEx(
PDEVICE_OBJECT BusDeviceObject,
PVOID DeviceContext,
ULONG StreamNumber
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A camera minidriver's CamStartCaptureEx callback function selects the appropriate alternate setting within the USB video streaming interface and prepares the device to stream.
BusDeviceObjectPointer to the camera minidriver's device object created by the USB hub.
DeviceContextPointer to the camera minidriver's device context.
StreamNumberIndicates the stream number.
CamStartCaptureEx returns STATUS_SUCCESS or an appropriate error code. This return value is the completion code for the read IRP.
The original USBCAMD does not call CamStartCaptureEx.
This function is required.