PCAM_NEW_FRAME_ROUTINE callback function (usbcamdi.h)
[CamNewVideoFrame is not supported and may be altered or unavailable in the future. Instead, use CamNewVideoFrameEx. ]
A camera minidriver's CamNewVideoFrame callback function initializes a new video frame context structure.
Syntax
PCAM_NEW_FRAME_ROUTINE PcamNewFrameRoutine;
void PcamNewFrameRoutine(
PVOID DeviceContext,
PVOID FrameContext
)
{...}
Parameters
DeviceContext
Pointer to the camera minidriver's device context.
FrameContext
Pointer to the camera minidriver's frame context.
Return value
None
Remarks
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 CamNewVideoFrame callback function at IRQL = DISPATCH_LEVEL.
This function is optional.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | usbcamdi.h (include Usbcamdi.h) |
IRQL | DISPATCH_LEVEL (See Remarks section) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for