PCOMMAND_COMPLETE_FUNCTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbcamdi.h

PCOMMAND_COMPLETE_FUNCTION PcommandCompleteFunction;

NTSTATUS PcommandCompleteFunction(
  PVOID DeviceContext,
  PVOID CommandContext,
  NTSTATUS NtStatus
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-usbcamdi-pcommand_complete_function)

PCOMMAND_COMPLETE_FUNCTION callback function

Description

A camera minidriver's CommandCompleteFunction callback function allows the camera minidriver to perform any additional tasks necessary to complete certain USBCAMD services

Parameters

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.

Return value

CommandCompleteFunction does not return a value.

Remarks

The following USBCAMD services allow for the camera minidriver to perform any additional tasks:

USBCAMD_BulkReadWrite

USBCAMD_ControlVendorCommand

USBCAMD_WaitOnDeviceEvent.

See also

USBCAMD_BulkReadWrite

USBCAMD_ControlVendorCommand

USBCAMD_WaitOnDeviceEvent