Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
644 B

#include "pch.h"
#pragma hdrstop
#include "ipxcfg.h"
HINSTANCE hIpxCfgInstance = NULL;
BOOL Init ( HINSTANCE hInstance )
{
::hIpxCfgInstance = hInstance ;
DisableThreadLibraryCalls(hInstance);
return TRUE ;
}
BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpvReserved)
{
BOOL fResult = TRUE ;
UNREFERENCED( lpvReserved );
switch (dwReason )
{
case DLL_PROCESS_ATTACH:
Init(hInstance) ;
break;
case DLL_PROCESS_DETACH:
break ;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
default:
break;
}
return fResult;
}