BatteryPDDInitialize

This function enables the battery PDD to perform hardware-specific initialization.

BOOL WINAPI BatteryPDDInitialize(
  LPCTSTR pszRegistryContext
);

Parameters

  • pszRegistryContext
    [in] Pointer to the battery driver's device key that is passed to the battery driver as the first parameter of its Init entry point.

Return Values

Returns TRUE if successful. Returns FALSE otherwise.

Remarks

If this routine returns FALSE, the battery driver will return a failure status from its Init entry point and will be unloaded by the Device Manager.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Battimpl.h.
Link Library: Statically linked to the battery driver MDD.

See Also

Battery Drivers

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.