USBCAMD_DEVICE_DATA2 structure (usbcamdi.h)
The USBCAMD_DEVICE_DATA2 structure specifies the entry points for a camera minidriver's functions that USBCAMD calls.
Syntax
typedef struct _USBCAMD_DEVICE_DATA2 {
ULONG Sig;
PCAM_INITIALIZE_ROUTINE CamInitialize;
PCAM_INITIALIZE_ROUTINE CamUnInitialize;
PCAM_PROCESS_PACKET_ROUTINE_EX CamProcessUSBPacketEx;
PCAM_NEW_FRAME_ROUTINE_EX CamNewVideoFrameEx;
PCAM_PROCESS_RAW_FRAME_ROUTINE_EX CamProcessRawVideoFrameEx;
PCAM_START_CAPTURE_ROUTINE_EX CamStartCaptureEx;
PCAM_STOP_CAPTURE_ROUTINE_EX CamStopCaptureEx;
PCAM_CONFIGURE_ROUTINE_EX CamConfigureEx;
PCAM_STATE_ROUTINE CamSaveState;
PCAM_STATE_ROUTINE CamRestoreState;
PCAM_ALLOCATE_BW_ROUTINE_EX CamAllocateBandwidthEx;
PCAM_FREE_BW_ROUTINE_EX CamFreeBandwidthEx;
} USBCAMD_DEVICE_DATA2, *PUSBCAMD_DEVICE_DATA2;
Members
Sig
Reserved. Do not use.
CamInitialize
Pointer to the camera minidriver defined CamInitialize callback function. This entry point is required.
CamUnInitialize
Pointer to the camera minidriver defined CamUnInitialize callback function. This entry point is required.
CamProcessUSBPacketEx
Pointer to the camera minidriver defined CamProcessUSBPacketEx callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamNewVideoFrameEx
Pointer to the camera minidriver defined CamNewVideoFrameEx callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamProcessRawVideoFrameEx
Pointer to the camera minidriver defined CamProcessRawVideoFrameEx callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamStartCaptureEx
Pointer to the camera minidriver defined CamStartCaptureEx callback function. This entry point is required.
CamStopCaptureEx
Pointer to the camera minidriver defined CamStopCaptureEx callback function. This entry point is required.
CamConfigureEx
Pointer to the camera minidriver defined CamConfigureEx callback function. This entry point is required.
CamSaveState
Pointer to the camera minidriver defined CamSaveState callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamRestoreState
Pointer to the camera minidriver defined CamRestoreState callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamAllocateBandwidthEx
Pointer to the camera minidriver defined CamAllocateBandwidthEx callback function. This entry point is required.
CamFreeBandwidthEx
Pointer to the camera minidriver defined CamFreeBandwidthEx callback function. This entry point is required.
Remarks
A camera minidriver passes a USBCAMD_DEVICE_DATA2 structure to USBCAMD as a parameter to USBCAMD service USBCAMD_InitializeNewInterface.
Camera minidrivers that must be backward compatible with the original USBCAMD library must use the USBCAMD_DEVICE_DATA structure.
Requirements
Requirement | Value |
---|---|
Header | usbcamdi.h (include Usbcamdi.h) |