Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "PowerSettingRegisterNotification" in [All]

powrprof

. .

static extern int PowerSettingRegisterNotification(ref Guid settingGuid, uint flags, ref DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS recipient, ref IntPtr registrationHandle);

.

Declare Function PowerSettingRegisterNotification Lib "powrprof.dll" (TODO) As TODO

.

    private static extern int PowerSettingRegisterNotification(ref Guid settingGuid, uint flags, ref DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS recipient, ref IntPtr registrationHandle);

.

        var result = PowerSettingRegisterNotification(ref GUID_CONSOLE_DISPLAY_STATE, DEVICE_NOTIFY_CALLBACK, ref _recipient, ref registrationHandle);

.
Documentation
[PowerSettingRegisterNotification] on MSDN

 
Access PInvoke.net directly from VS: