Skip to content

Latest commit

 

History

History
102 lines (69 loc) · 3.67 KB

nc-usbcamdi-pcam_configure_routine.md

File metadata and controls

102 lines (69 loc) · 3.67 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:usbcamdi.PCAM_CONFIGURE_ROUTINE
PCAM_CONFIGURE_ROUTINE (usbcamdi.h)
A camera minidriver's CamConfigure callback function configures the isochronous streaming interface.
stream\camconfigure.htm
stream
04/23/2018
PCAM_CONFIGURE_ROUTINE callback function
CamConfigure, CamConfigure callback function [Streaming Media Devices], PCAM_CONFIGURE_ROUTINE, PCAM_CONFIGURE_ROUTINE callback, stream.camconfigure, usbcamdi/CamConfigure, usbcmdpr_4953051b-2fb0-4dd4-ac52-67da188ce7e1.xml
usbcamdi.h
Usbcamdi.h
Desktop
Windows
PCAM_CONFIGURE_ROUTINE
usbcamdi/PCAM_CONFIGURE_ROUTINE
APIRef
kbSyntax
UserDefined
usbcamdi.h
PCAM_CONFIGURE_ROUTINE

PCAM_CONFIGURE_ROUTINE callback function

-description

[CamConfigure is not supported and may be altered or unavailable in the future. Instead, use CamConfigureEx. ]

A camera minidriver's CamConfigure callback function configures the isochronous streaming interface.

-parameters

-param BusDeviceObject

Pointer to the camera minidriver's device object created by the USB hub.

-param DeviceContext

Pointer to the camera minidriver's device context.

-param Interface

Pointer to a USBD_INTERFACE_INFORMATION structure initialized with the proper values for a SELECT_INTERFACE URB request. This interface structure corresponds to a single isochronous interface on the device.

-param ConfigurationDescriptor

Pointer to an initialized USB_CONFIGURATION_DESCRIPTOR for this device.

-param DataPipeIndex

Pointer to a value that indicates the index of the data pipe. The camera minidriver should fill in this value before returning.

-param SyncPipeIndex

Pointer to a value that indicates the index of the sync pipe, if one is needed. The camera minidriver should fill in this value before returning.

-returns

CamConfigure returns STATUS_SUCCESS or an appropriate error code.

-remarks

Camera minidrivers that must maintain backward compatibility with the original USBCAMD must use the USBCAMD_DEVICE_DATA structure and its associated callback functions (that is, callback functions that do not contain the "Ex" suffix).

USBCAMD calls the camera minidriver's CamConfigure callback function to configure the isochronous streaming interface. After this function returns, USBCAMD can be notified of which interface and which alternate setting within the USB video streaming interface to use for the idle state.

This function is required.

-see-also

CamConfigureEx

USBD_INTERFACE_INFORMATION

USB_CONFIGURATION_DESCRIPTOR