Bewerken

Delen via


PADAPTER_RECEIVE_PACKET_ROUTINE callback function (usbcamdi.h)

A camera minidriver's AdapterReceivePacket callback function processes adapter-based stream request blocks (SRBs) passed to it by the stream class driver.

Syntax

PADAPTER_RECEIVE_PACKET_ROUTINE PadapterReceivePacketRoutine;

void PadapterReceivePacketRoutine(
  [in] PHW_STREAM_REQUEST_BLOCK Srb
)
{...}

Parameters

[in] Srb

Specifies the SRB to be processed by the camera minidriver.

Return value

None

Remarks

A camera's minidriver provides USBCAMD with the address of its AdapterReceivePacket function that processes SRBs in its call to the USBCAMD_DriverEntry service.

Requirements

Requirement Value
Target Platform Desktop
Header usbcamdi.h (include Usbcamdi.h)

See also

USBCAMD_DriverEntry