// usbcamdi.h
PCAM_START_CAPTURE_ROUTINE PcamStartCaptureRoutine;
NTSTATUS PcamStartCaptureRoutine(
PDEVICE_OBJECT BusDeviceObject,
PVOID DeviceContext
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
[CamStartCapture is not supported and may be altered or unavailable in the future. Instead, use CamStartCaptureEx. ]
A camera minidriver's CamStartCapture callback function selects the appropriate alternate setting within the USB video streaming interface and prepares the device to stream.
BusDeviceObjectPointer to camera minidriver's device object created by the USB hub.
DeviceContextPointer to camera minidriver's device context.
CamStartCapture returns STATUS_SUCCESS or an appropriate error code. This return value is the completion code for the read IRP.
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 CamStartCapture callback function immediately prior to the start of the isochronous video capture stream. CamStartCapture is called in the context of a Run command.
This function is required.