Share via


POWER_RELATIONSHIP (Compact 2013)

3/26/2014

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.

Requirements

Header

pm.h

See Also

Reference

Power Management Structures
RegisterPowerRelationship