CamSaveState callback function
[CamAllocateBandwidth is not supported and may be altered or unavailable in the future.]
The CamSaveState callback function saves the current device context state.
NTSTATUS CamSaveState( PDEVICE_OBJECT BusDeviceObject, PVOID DeviceContext );
Pointer to the camera minidriver's device object created by the USB hub. This value may be NULL.
Pointer to the camera minidriver's device context.
CamSaveState must return STATUS_SUCCESS.
USBCAMD version 1.0 calls the minidriver's CamSaveState in the context of an SRB_CHANGE_POWER_STATE request where the power state is going from ON to OFF (D0 to D3).
USBCAMD ignores the return value from the minidriver's CamSaveState callback function.
CamSaveState is called by both versions 1.0 and 2.0 of USBCAMD.
This function is optional.
Available on Windows operating system versions prior to Windows XP.
|Usbcamdi.h (include Usbcamdi.h)|