URS_CONFIG_INIT function (ursdevice.h)

Initializes a URS_CONFIG structure.

Syntax

void URS_CONFIG_INIT(
  [out] PURS_CONFIG                                 Config,
  [in]  URS_HOST_INTERFACE_TYPE                     HostInterfaceType,
  [in]  PFN_URS_DEVICE_FILTER_RESOURCE_REQUIREMENTS EvtUrsFilterRemoveResourceRequirements
);

Parameters

[out] Config

A pointer to a URS_CONFIG structure to initialize.

[in] HostInterfaceType

A URS_HOST_INTERFACE_TYPE type value that indicates the type of host controller that the dual-role controller implements.

[in] EvtUrsFilterRemoveResourceRequirements

A pointer to a EVT_URS_DEVICE_FILTER_RESOURCE_REQUIREMENTS callback function that is implemented by the client driver.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Minimum KMDF version 1.0
Header ursdevice.h (include Urscx.h)

See also

URS_CONFIG

UrsDeviceInitialize