PCOMMAND_COMPLETE_FUNCTION callback function (usbcamdi.h)
A camera minidriver's CommandCompleteFunction callback function allows the camera minidriver to perform any additional tasks necessary to complete certain USBCAMD services
PCOMMAND_COMPLETE_FUNCTION PcommandCompleteFunction;
NTSTATUS PcommandCompleteFunction(
PVOID DeviceContext,
PVOID CommandContext,
NTSTATUS NtStatus
)
{...}
DeviceContext
Specifies the user-supplied value or structure relevant to the stream.
CommandContext
Specifies the context passed to CommandCompleteFunction by certain USBCAMD services.
NtStatus
Specifies the completion status of the called function.
CommandCompleteFunction does not return a value.
The following USBCAMD services allow for the camera minidriver to perform any additional tasks:
USBCAMD_BulkReadWrite
USBCAMD_ControlVendorCommand
USBCAMD_WaitOnDeviceEvent.
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | usbcamdi.h (include Usbcamdi.h) |