Compartilhar via


PlatformDeviceListInit (Windows CE 5.0)

Send Feedback

This function performs platform-specific initialization on a class of devices.

BOOL WINAPI PlatformDeviceListInit(PDEVICE_LIST pdl);

Parameters

  • pdl
    Platform device list.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

When the Power Manager reads a device class from the registry during initialization, it passes information about the device class to the PDD. The PDD is expected to populate the pInterface member of pdl as appropriate for the device class. Typically, a power-managed device uses the stream interface while the PDD uses a pInterface structure containing stream device-specific routines.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pmimpl.h.
Link Library: Coredll.lib.

See Also

Power Management

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.