// ucmtypes.h
VOID UCM_PD_REQUEST_DATA_OBJECT_INIT_ULONG(
PUCM_PD_REQUEST_DATA_OBJECT Rdo,
[in] ULONG UlongInLittleEndian
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a UCM_PD_REQUEST_DATA_OBJECT structure by interpreting Request Data Object values and sets each field correctly.
RdoA pointer to a UCM_PD_REQUEST_DATA_OBJECT structure.
UlongInLittleEndian [in]The ULONG value to set in the Ul member of UCM_PD_REQUEST_DATA_OBJECT.
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.