WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB - NtDoc

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

VOID WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB(
  [out] PWDF_USB_DEVICE_SELECT_CONFIG_PARAMS Params,
  [in]  PURB                                 Urb
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfusb-wdf_usb_device_select_config_params_init_urb)

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB function

Description

[Applies to KMDF and UMDF]

The WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB function initializes a WDF_USB_DEVICE_SELECT_CONFIG_PARAMS structure so that a driver can specify a configuration by using a URB.

Parameters

Params [out]

A pointer to the driver's WDF_USB_DEVICE_SELECT_CONFIG_PARAMS structure.

Urb [in]

A pointer to a URB structure.

Remarks

The WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB function zeros the WDF_USB_DEVICE_SELECT_CONFIG_PARAMS structure and sets the Size member to the size of the structure. It also sets the Type member to WdfUsbTargetDeviceSelectConfigTypeUrb and sets the Types.Urb.Urb member to the Urb pointer.

To initialize a WDF_USB_DEVICE_SELECT_CONFIG_PARAMS structure, the driver must call one of the following functions:

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_DECONFIG

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_SINGLE_INTERFACE

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_MULTIPLE_INTERFACES

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_INTERFACES_DESCRIPTORS

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS_INIT_URB

See also

URB

WDF_USB_DEVICE_SELECT_CONFIG_PARAMS