UFX_PROPRIETARY_CHARGER_SET_PROPERTY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ufxproprietarycharger.h

UFX_PROPRIETARY_CHARGER_SET_PROPERTY UfxProprietaryChargerSetProperty;

NTSTATUS UfxProprietaryChargerSetProperty(
  [in] PVOID Context,
  [in] PCONFIGURABLE_CHARGER_PROPERTY_HEADER Property
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ufxproprietarycharger-ufx_proprietary_charger_set_property)

UFX_PROPRIETARY_CHARGER_SET_PROPERTY callback function

Description

The filter driver's implementation to set a configurable property on the charger.

Parameters

Context [in]

A pointer to a driver-defined context.

Property [in]

A pointer to a CONFIGURABLE_CHARGER_PROPERTY_HEADER structure (defined in charging.h) that describes the configurable charger property to set.

Return value

If the operation is successful, the callback function must return STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise it must return a status value for which NT_SUCCESS(status) equals FALSE.

Remarks

To support handling of proprietary chargers, the USB lower filter driver must publish support. During the publishing process, the driver also registers its implementation of this callback function. For more information, see USB filter driver for supporting proprietary chargers.

In this callback function, the driver sets the specified property value. For example, after the detection of a HVDCP charger, the driver sets the output voltages to the specified value.

See also

USB filter driver for supporting proprietary chargers