1dllshell.c  ---------------------------------------------------------------
2#define  STRICT
3#include <windows.h>
4#pragma hdrstop
5
6#pragma argsused
7
8/* DLL has an entry point LibMain || DllEntryPoint and an exit point WEP. */
9
10#if defined(__FLAT__)
11
12BOOL WINAPI DllEntryPoint(HINSTANCE hinstDll, DWORD fdwRreason,
13		LPVOID plvReserved)
14{
15	 return 1;   /* Indicate that the DLL was initialized successfully. */
16}
17
18#else /* not flat model  */
19
20int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSegment, WORD wHeapSize,
21		LPSTR lpszCmdLine)
22{
23/* The startup code for the DLL initializes the local heap(if there is one)
24	with a call to LocalInit which locks the data segment. */
25
26	 if ( wHeapSize != 0 )
27		  UnlockData( 0 );
28	 return 1;   /* Indicate that the DLL was initialized successfully. */
29}
30
31#endif /* __FLAT */
32
33#pragma argsused
34
35int FAR PASCAL WEP ( int bSystemExit )
36{
37	 return 1;
38}
39