UCM_PD_REQUEST_DATA_OBJECT_INIT_ULONG function (ucmtypes.h)

Initializes a UCM_PD_REQUEST_DATA_OBJECT structure by interpreting Request Data Object values and sets each field correctly.

Syntax

void UCM_PD_REQUEST_DATA_OBJECT_INIT_ULONG(
       PUCM_PD_REQUEST_DATA_OBJECT Rdo,
  [in] ULONG                       UlongInLittleEndian
);

Parameters

Rdo

A pointer to a UCM_PD_REQUEST_DATA_OBJECT structure.

[in] UlongInLittleEndian

The ULONG value to set in the Ul member of UCM_PD_REQUEST_DATA_OBJECT.

Return value

None

Remarks

For information about Request Data Objects, see the Power Delivery specification. There are different types of Request Data Objects and the type depends on the Power Data Object that is specified in the ObjectPosition member of UCM_PD_REQUEST_DATA_OBJECT. The source buffer is little-endian format. The client driver can call the memcpy function to get the Request Data Objects from the hardware into an array of UCM_PD_REQUEST_DATA_OBJECT structures.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.15
Minimum UMDF version 2.15
Header ucmtypes.h (include Ucmcx.h)

See also

UCM_PD_REQUEST_DATA_OBJECT