Partager via


POWER_RELATIONSHIP (Windows Embedded CE 6.0)

1/6/2010

This structure defines the target of IOCTL_POWER_XXX commands to parent and bus drivers if there is a relationship established through RegisterPowerRelationship.

Syntax

typedef struct _POWER_RELATIONSHIP {
  HANDLE hParent;
  LPCWSTR pwsParent;
  HANDLE hChild;
  LPCWSTR pwsChild;
} POWER_RELATIONSHIP, *PPOWER_RELATIONSHIP;

Members

  • hParent
    Handle to the parent node.
  • pwsParent
    Named parent node. For example, "NDS0:".
  • hChild
    Handle to the child node, returned from RegisterPowerRelationship.
  • pwsChild
    Named child node. For example, {98C5250D-C29A-4985-AE5F-AFE5367E5006}\NE20001.

See Also

Reference

Power Management Structures
RegisterPowerRelationship