BatteryPDDInitialize (Windows CE 5.0)

Send Feedback

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.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.