// ucmucsidevice.h
NTSTATUS UcmUcsiDeviceInitialize(
WDFDEVICE WdfDevice,
PUCMUCSI_DEVICE_CONFIG Config
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes the UCSI extension (UcmUcsiCx).
WdfDeviceA handle to a framework device object that the client driver received in a previous call to WdfDeviceCreate.
ConfigA pointer to a caller-supplied UCMUCSI_DEVICE_CONFIG structure that is initialized by calling UCMUCSI_DEVICE_CONFIG_INIT.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.
The client driver must call UcmUcsiDeviceInitialize in the driver's EVT_WDF_DRIVER_DEVICE_ADD implementation after calling WdfDeviceCreate successfully.