// usbcamdi.h
PCOMMAND_COMPLETE_FUNCTION PcommandCompleteFunction;
NTSTATUS PcommandCompleteFunction(
PVOID DeviceContext,
PVOID CommandContext,
NTSTATUS NtStatus
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A camera minidriver's CommandCompleteFunction callback function allows the camera minidriver to perform any additional tasks necessary to complete certain USBCAMD services
DeviceContextSpecifies the user-supplied value or structure relevant to the stream.
CommandContextSpecifies the context passed to CommandCompleteFunction by certain USBCAMD services.
NtStatusSpecifies 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_WaitOnDeviceEvent.