UcmConnectorChargingStateChanged function (ucmmanager.h)
Notifies the USB connector manager framework extension (UcmCx) with the updated charging state of the partner connector.
NTSTATUS UcmConnectorChargingStateChanged( [in] UCMCONNECTOR Connector, [in] UCM_CHARGING_STATE ChargingState );
Handle to the connector object that the client driver received in the previous call to UcmConnectorCreate.
One of the UCM_CHARGING_STATE-typed flags that indicates the new charging state.
UcmConnectorChargingStateChanged returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method can return an appropriate NTSTATUS value.
If the client driver determines that the charging state is non-optimal, it should report slow or trickle charging to UcmCx. Then, the operating system notifies the user of this condition.
|Minimum supported client||Windows 10|
|Minimum supported server||Windows Server 2016|
|Minimum KMDF version||1.15|
|Minimum UMDF version||2.15|
|Header||ucmmanager.h (include Ucmcx.h)|