// usbcamdi.h
typedef struct _USBCAMD_DEVICE_DATA {
ULONG Sig;
PCAM_INITIALIZE_ROUTINE CamInitialize;
PCAM_INITIALIZE_ROUTINE CamUnInitialize;
PCAM_PROCESS_PACKET_ROUTINE CamProcessUSBPacket;
PCAM_NEW_FRAME_ROUTINE CamNewVideoFrame;
PCAM_PROCESS_RAW_FRAME_ROUTINE CamProcessRawVideoFrame;
PCAM_START_CAPTURE_ROUTINE CamStartCapture;
PCAM_STOP_CAPTURE_ROUTINE CamStopCapture;
PCAM_CONFIGURE_ROUTINE CamConfigure;
PCAM_STATE_ROUTINE CamSaveState;
PCAM_STATE_ROUTINE CamRestoreState;
PCAM_ALLOCATE_BW_ROUTINE CamAllocateBandwidth;
PCAM_FREE_BW_ROUTINE CamFreeBandwidth;
} USBCAMD_DEVICE_DATA, *PUSBCAMD_DEVICE_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
This structure is obsolete and is provided to maintain backward compatibility with the original USBCAMD. New camera minidrivers should use the USBCAMD_DEVICE_DATA2 structure.
The USBCAMD_DEVICE_DATA structure specifies the entry points for a camera minidriver's functions that the original USBCAMD calls.
SigReserved. Do not use.
CamInitializePointer to the camera minidriver defined CamInitialize callback function. This entry point is required.
CamUnInitializePointer to the camera minidriver defined CamUnInitialize callback function. This entry point is required.
CamProcessUSBPacketPointer to the camera minidriver defined CamProcessUSBPacket callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamNewVideoFramePointer to the camera minidriver defined CamNewVideoFrame callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamProcessRawVideoFramePointer to the camera minidriver defined CamProcessRawVideoFrame callback function. This is an optional entry point. If the minidriver does not implement this function, it must point to an empty function.
CamStartCapturePointer to the camera minidriver defined CamStartCapture callback function. This entry point is required.
CamStopCapturePointer to the camera minidriver defined CamStopCapture callback function. This entry point is required.
CamConfigurePointer to the camera minidriver defined CamConfigure callback function. This entry point is required.
CamSaveStatePointer 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.
CamRestoreStatePointer 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.
CamAllocateBandwidthPointer to the camera minidriver defined CamAllocateBandwidth callback function. This entry point is required.
CamFreeBandwidthPointer to the camera minidriver defined CamFreeBandwidth callback function. This entry point is required.
A camera minidriver passes a USBCAMD_DEVICE_DATA structure to USBCAMD as a parameter to the USBCAMD library routine USBCAMD_AdapterReceivePacket in the original USBCAMD.