Anonymous
08-22-2005, 05:54 AM
could someone explain what this code is doing..?
and also, id like to know if this is the same thing as doing for instance,
??? or is that totally not what thats doing...
also, is there somewhere to download windows.h? everytime i google it, its always related to downloading something else, and just talk about windows.h :/
Code:
//-------------------------------------------------------------
// shared data
// Notice: seen by both: the instance of "HookInjEx.dll" mapped
// into "explorer.exe" as well as by the instance
// of "HookInjEx.dll" mapped into our "HookInjEx.exe"
#pragma data_seg (".shared")
int g_bSubclassed = 0; // START button subclassed?
UINT WM_HOOKEX = 0;
HWND g_hWnd = 0; // handle of START button
HHOOK g_hHook = 0;
#pragma data_seg ()
#pragma comment(linker,"/SECTION:.shared,RWS")
and also, id like to know if this is the same thing as doing for instance,
Code:
Common Shared g_bsubclassed As Integer = 0, WM_HOOKEX As uInteger = 0, g_hWnd As Integer = 0, g_hHook As Integer = 0
??? or is that totally not what thats doing...
also, is there somewhere to download windows.h? everytime i google it, its always related to downloading something else, and just talk about windows.h :/