Compartilhar via


PlatformDeviceListInit (Compact 2013)

3/26/2014

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.

Requirements

Header

pmimpl.h

See Also

Reference

Power Management Functions