This commit is contained in:
Bram Veenboer
2011-02-15 21:43:59 +00:00
parent 19fa8d34dd
commit 23b0d7f0a1
60 changed files with 6312 additions and 0 deletions

24
cpp/JXInput/dllmain.cpp Normal file
View File

@@ -0,0 +1,24 @@
#include "stdafx.h"
HINSTANCE g_hInst;
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
g_hInst = (HINSTANCE)hModule;
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
g_hInst = NULL;
break;
}
return TRUE;
}