// usbcamdi.h
PCAM_NEW_FRAME_ROUTINE_EX PcamNewFrameRoutineEx;
VOID PcamNewFrameRoutineEx(
PVOID DeviceContext,
PVOID FrameContext,
ULONG StreamNumber,
PULONG FrameLength
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A camera minidriver's CamNewVideoFrameEx callback function initializes a new video frame context structure.
DeviceContextSpecifies the minidriver device context.
FrameContextSpecifies the frame context to be initialized.
StreamNumberIndicates the stream associated with this new frame.
FrameLengthPointer to the raw frame buffer length. The length is expressed in bytes. The camera minidriver may decrease this value if it does not require a buffer transfer on the USB bus of the specified size. The camera minidriver should not increase this value.
USBCAMD calls the camera minidriver's CamNewVideoFrameEx callback function at IRQL = DISPATCH_LEVEL.
The original USBCAMD does not call CamNewVideoFrameEx.
This function is optional.