다음을 통해 공유


PlatformDeviceListInit (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

BOOL WINAPI PlatformDeviceListInit(
  PDEVICE_LIST pdl
);

Parameters

  • pdl
    Platform device list.

Return Value

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

Remarks

When Power Manager reads a device class from the registry during initialization, it passes information about the device class to the platform device driver (PDD). The PDD populates the pInterface member of pdl as appropriate for the device class. Typically, a power-managed device uses the stream interface, whereas the PDD uses a pInterface structure containing stream device-specific routines.

See Also

Other Resources

Power Management Functions