29#include "../utility/utility.h"
67 cds.
_hwnd = pmsg->hwnd;
71 data.cbData =
sizeof(cds);
#define DLL_PROCESS_ATTACH
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
void DeinstallNotifyHook()
LRESULT CALLBACK NotifyHookProc(int code, WPARAM wparam, LPARAM lparam)
static HINSTANCE s_hInstance
BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID param)
DECL_NOTIFYHOOK int GetWindowModulePathCopyData(LPARAM lparam, HWND *phwnd, LPSTR buffer, int size)
static UINT WM_GETMODULEPATH
void GetWindowModulePath(HWND hwnd)
static HHOOK s_hNotifyHook
TW_UINT32 TW_UINT16 TW_UINT16 MSG
UINT WINAPI RegisterWindowMessageA(_In_ LPCSTR)
struct tagCOPYDATASTRUCT * PCOPYDATASTRUCT
BOOL WINAPI UnhookWindowsHookEx(_In_ HHOOK)
LRESULT WINAPI CallNextHookEx(_In_opt_ HHOOK, _In_ int, _In_ WPARAM, _In_ LPARAM)
UINT WINAPI GetWindowModuleFileNameA(_In_ HWND hwnd, _Out_writes_to_(cchFileNameMax, return) LPSTR pszFileName, _In_ UINT cchFileNameMax)