aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/util/wininfo.cpp
blob: 991deb335d0346f345ec31ca1a05065d7a9ecfcc (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "pch.h"

AUTOHOOK_INIT()

HWND* g_gameHWND;
HMODULE g_NorthstarModule = 0;

ON_DLL_LOAD("engine.dll", WinInfo, (CModule module))
{
	g_gameHWND = module.Offset(0x7d88a0).As<HWND*>();
}