DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS structure (powrprof.h)

Contains parameters used when registering for a power notification.

Syntax

typedef struct _DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS {
  PDEVICE_NOTIFY_CALLBACK_ROUTINE Callback;
  PVOID                           Context;
} DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS, *PDEVICE_NOTIFY_SUBSCRIBE_PARAMETERS;

Members

Callback

Indicates the callback function that will be called when the application receives the notification.

Context

The context of the application registering for the notification.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header powrprof.h

See also

DEVICE_NOTIFY_CALLBACK_ROUTINE

PowerRegisterSuspendResumeNotification