Skip to content

Commit

Permalink
i don even kno
Browse files Browse the repository at this point in the history
  • Loading branch information
freedom7341 committed May 18, 2024
1 parent bb00fb9 commit 977dbee
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion common/usrapihk.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
/* Structures */
typedef struct _USERAPIHOOKINFO
{
DWORD m_size;
LPCWSTR m_funname1; // Callback function
LPCWSTR m_dllname1; // DLL 1
LPCWSTR m_funname2; // Callback function
Expand Down
Binary file added srchook/images/g96max.bmp
Binary file not shown.
Binary file added srchook/images/g96menu.bmp
Binary file not shown.
Binary file added srchook/images/g96min.bmp
Binary file not shown.
Binary file added srchook/images/g96mmenu.bmp
Binary file not shown.
Binary file added srchook/images/g96res.bmp
Binary file not shown.
Binary file modified srchook/images/max.bmp
Binary file not shown.
Binary file modified srchook/images/maxd.bmp
Binary file not shown.
Binary file modified srchook/images/min.bmp
Binary file not shown.
Binary file modified srchook/images/mind.bmp
Binary file not shown.
Binary file added srchook/images/mock.bmp
Binary file not shown.
Binary file modified srchook/images/res.bmp
Binary file not shown.
Binary file modified srchook/images/resd.bmp
Binary file not shown.
7 changes: 3 additions & 4 deletions srchook/ntshook.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,10 @@ __declspec(dllexport) BOOL CALLBACK NtStyleInstallUserHook()
{
USERAPIHOOKINFO uah;

uah.m_size = sizeof(uah);
uah.m_dllname1 = NULL;
uah.m_funname1 = NULL;
uah.m_dllname2 = L"ntshk64.dll";
uah.m_funname1 = L"NtStyleInitUserHook";
uah.m_dllname1 = L"ntshk64.dll";
uah.m_funname2 = L"NtStyleInitUserHook";
uah.m_dllname2 = L"ntshk64.dll";

return RegisterUserApiHook(&uah);
}
Expand Down

0 comments on commit 977dbee

Please sign in to comment.