UcmUcsiDeviceInitInitialize function (ucmucsidevice.h)
Intializes 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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for