Skip to content

Commit ab99f26

Browse files
committed
Taskbar10: ep_taskbar now statically links to private functions
1 parent ff30457 commit ab99f26

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

ExplorerPatcher/dllmain.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4338,7 +4338,7 @@ HRESULT (STDAPICALLTYPE *PeopleBand_DrawTextWithGlowFunc)(
43384338
BOOL fPreMultiply,
43394339
DTT_CALLBACK_PROC pfnDrawTextCallback,
43404340
LPARAM lParam);
4341-
__declspec(dllexport) HRESULT STDAPICALLTYPE PeopleBand_DrawTextWithGlowHook(
4341+
HRESULT STDAPICALLTYPE PeopleBand_DrawTextWithGlowHook(
43424342
HDC hdc,
43434343
LPCWSTR pszText,
43444344
UINT cch,
@@ -4920,7 +4920,7 @@ INT64 PeopleButton_SubclassProc(
49204920
}
49214921

49224922
static BOOL(*SetChildWindowNoActivateFunc)(HWND);
4923-
__declspec(dllexport) BOOL explorer_SetChildWindowNoActivateHook(HWND hWnd)
4923+
BOOL explorer_SetChildWindowNoActivateHook(HWND hWnd)
49244924
{
49254925
TCHAR className[100];
49264926
ZeroMemory(className, 100);
@@ -10807,6 +10807,9 @@ DWORD Inject(BOOL bIsExplorer)
1080710807
VnPatchIAT(hMyTaskbar, "user32.dll", "SendMessageW", explorer_SendMessageW);
1080810808
VnPatchIAT(hMyTaskbar, "user32.dll", "SetRect", explorer_SetRect);
1080910809
VnPatchIAT(hMyTaskbar, "user32.dll", "TrackPopupMenuEx", explorer_TrackPopupMenuExHook);
10810+
VnPatchIAT(hMyTaskbar, "user32.dll", MAKEINTRESOURCEA(2005), explorer_SetChildWindowNoActivateHook);
10811+
10812+
VnPatchIAT(hMyTaskbar, "uxtheme.dll", MAKEINTRESOURCEA(126), PeopleBand_DrawTextWithGlowHook);
1081010813
}
1081110814

1081210815
HANDLE hCombase = LoadLibraryW(L"combase.dll");

libs/sws

0 commit comments

Comments
 (0)