Share via


BatteryPDDInitialize (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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.

Note

This function is statically linked to the battery driver MDD.

Requirements

Header battimpl.h
Windows Embedded CE Windows CE .NET 4.2 and later
Note Statically linked to the battery driver MDD

See Also

Concepts

Battery Driver Functions