DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS

DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS structure

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Powrprof.h

See also

PowerRegisterSuspendResumeNotification
DEVICE_NOTIFY_CALLBACK_ROUTINE

 

 

Show:
© 2016 Microsoft