powrprof: Add PowerSettingUnregisterNotification stub.
Signed-off-by: Torge Matthies <openglfreak@googlemail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7180a9b926
commit
ce6365551b
|
@ -350,6 +350,12 @@ DWORD WINAPI PowerSettingRegisterNotification(const GUID *setting, DWORD flags,
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DWORD WINAPI PowerSettingUnregisterNotification(HPOWERNOTIFY handle)
|
||||||
|
{
|
||||||
|
FIXME("(%p) stub!\n", handle);
|
||||||
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
switch(fdwReason) {
|
switch(fdwReason) {
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
@ stdcall PowerRegisterSuspendResumeNotification(long ptr ptr)
|
@ stdcall PowerRegisterSuspendResumeNotification(long ptr ptr)
|
||||||
@ stdcall PowerUnregisterSuspendResumeNotification(ptr)
|
@ stdcall PowerUnregisterSuspendResumeNotification(ptr)
|
||||||
@ stdcall PowerSettingRegisterNotification(ptr long ptr ptr)
|
@ stdcall PowerSettingRegisterNotification(ptr long ptr ptr)
|
||||||
|
@ stdcall PowerSettingUnregisterNotification(ptr)
|
||||||
@ stdcall ReadGlobalPwrPolicy (ptr)
|
@ stdcall ReadGlobalPwrPolicy (ptr)
|
||||||
@ stdcall ReadProcessorPwrScheme (long ptr)
|
@ stdcall ReadProcessorPwrScheme (long ptr)
|
||||||
@ stdcall ReadPwrScheme (long ptr)
|
@ stdcall ReadPwrScheme (long ptr)
|
||||||
|
|
|
@ -163,6 +163,7 @@ DWORD WINAPI PowerEnumerate(HKEY, const GUID *, const GUID *, POWER_DATA_ACCES
|
||||||
DWORD WINAPI PowerRegisterSuspendResumeNotification(DWORD, HANDLE, PHPOWERNOTIFY);
|
DWORD WINAPI PowerRegisterSuspendResumeNotification(DWORD, HANDLE, PHPOWERNOTIFY);
|
||||||
DWORD WINAPI PowerUnregisterSuspendResumeNotification(HPOWERNOTIFY);
|
DWORD WINAPI PowerUnregisterSuspendResumeNotification(HPOWERNOTIFY);
|
||||||
DWORD WINAPI PowerSettingRegisterNotification(const GUID *, DWORD, HANDLE, PHPOWERNOTIFY);
|
DWORD WINAPI PowerSettingRegisterNotification(const GUID *, DWORD, HANDLE, PHPOWERNOTIFY);
|
||||||
|
DWORD WINAPI PowerSettingUnregisterNotification(HPOWERNOTIFY);
|
||||||
BOOLEAN WINAPI ReadGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
|
BOOLEAN WINAPI ReadGlobalPwrPolicy(PGLOBAL_POWER_POLICY);
|
||||||
BOOLEAN WINAPI ReadProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY);
|
BOOLEAN WINAPI ReadProcessorPwrScheme(UINT, PMACHINE_PROCESSOR_POWER_POLICY);
|
||||||
BOOLEAN WINAPI ReadPwrScheme(UINT, PPOWER_POLICY);
|
BOOLEAN WINAPI ReadPwrScheme(UINT, PPOWER_POLICY);
|
||||||
|
|
Loading…
Reference in New Issue