Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFire01 committed Sep 15, 2023
1 parent 3be6388 commit e842252
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dll/win32/powrprof/powrprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -1343,3 +1343,10 @@ PowerDeterminePlatformRole()
{
return PlatformRoleDesktop;
}

VOID
WINAPI
PowerSetActiveScheme(DWORD* x1)
{

}
2 changes: 1 addition & 1 deletion dll/win32/powrprof/powrprof.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@ stdcall -version=0x600+ PowerDeterminePlatformRole()
@ stdcall -version=0x600+ PowerDeterminePlatformRoleEx(long)
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall -stub PowerSetActiveScheme (ptr)
@ stdcall PowerSetActiveScheme (ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
Expand Down
13 changes: 13 additions & 0 deletions dll/win32/psapi/psapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,4 +1659,17 @@ QueryWorkingSetEx(IN HANDLE hProcess,
return TRUE;
}

BOOL EnumProcessModulesEx(
HANDLE hProcess,
HMODULE *lphModule,
DWORD cb,
LPDWORD lpcbNeeded,
DWORD dwFilterFlag
)
{
return EnumProcessModules(hProcess, lphModule,
cb,
lpcbNeeded);
}

/* EOF */
1 change: 1 addition & 0 deletions dll/win32/psapi/psapi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@
@ stdcall InitializeProcessForWsWatch(ptr)
@ stdcall QueryWorkingSet(ptr ptr long)
@ stdcall QueryWorkingSetEx(ptr ptr long)
@ stdcall EnumProcessModulesEx(ptr ptr long ptr long)

0 comments on commit e842252

Please sign in to comment.