mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-14 11:07:36 +01:00
Added some imports
This commit is contained in:
parent
45eec48aef
commit
886ebca6b2
@ -75,6 +75,10 @@ static HWND(WINAPI* CreateWindowInBand)(
|
||||
DWORD band
|
||||
);
|
||||
|
||||
BOOL(WINAPI* GetWindowBand)(HWND hWnd, PDWORD pdwBand);
|
||||
|
||||
BOOL(WINAPI* SetWindowBand)(HWND hWnd, HWND hwndInsertAfter, DWORD dwBand);
|
||||
|
||||
static void(*SetPreferredAppMode)(INT64 bAllowDark);
|
||||
|
||||
static void(*AllowDarkModeForWindow)(HWND hWnd, INT64 bAllowDark);
|
||||
@ -1499,6 +1503,8 @@ __declspec(dllexport) DWORD WINAPI main(
|
||||
|
||||
HANDLE hUser32 = LoadLibraryW(L"user32.dll");
|
||||
CreateWindowInBand = GetProcAddress(hUser32, "CreateWindowInBand");
|
||||
GetWindowBand = GetProcAddress(hUser32, "GetWindowBand");
|
||||
SetWindowBand = GetProcAddress(hUser32, "SetWindowBand");
|
||||
printf("Setup user32 functions done\n");
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user