UcmUcsiDeviceInitInitialize function (ucmucsidevice.h)
Initializes the WDFDEVICE_INIT provided by the framework.
Syntax
NTSTATUS UcmUcsiDeviceInitInitialize(
PWDFDEVICE_INIT DeviceInit
);
Parameters
DeviceInit
A pointer to a framework-allocated WDFDEVICE_INIT structure.
Return value
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, returns an appropriate NTSTATUS code.
Remarks
The client driver must call this function after calling WdfDeviceInitSetPnpPowerEventCallbacks. This function initializes the UCSI extension (UcmUcsiCx) with the framework WDFDEVICE_INIT structure that contains pointers to PnP and power callback functions implemented by the client driver.
Requirements
Requirement | Value |
---|---|
Minimum KMDF version | 1.27 |
Minimum UMDF version | N/A |
Header | ucmucsidevice.h (include UcmUcsiCx.h) |
Library | UcmUcsiCxStub.lib |