home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
msj
/
v10n04
/
memman.exe
/
PHYS32.C
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-01
|
669b
|
26 lines
//==================================
// PHYS - Matt Pietrek 1994
// FILE: PHYS32.C
//==================================
#include <windows.h>
BOOL _stdcall phystk_ThunkConnect32(PSTR, PSTR, HINSTANCE, DWORD);
INT WINAPI DllMain
(
HANDLE hInst,
ULONG dwReason,
LPVOID lpReserved
)
{
if (!(phystk_ThunkConnect32("PHYS16.DLL", // Name of 16-bit DLL
"PHYS32.DLL", // Name of 32-bit DLL
hInst,
dwReason)))
{
MessageBox(0, "phystk_ThunkConnect32 failed", 0, MB_OK);
return FALSE;
}
return 1;
}