OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / lib / libopenh323 / src / dllmain.cxx
1 /*
2  * dllmain.cxx
3  *
4  * DLL main entry point for OpenH323.dll
5  *
6  * Open H323 Library
7  *
8  * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
9  *
10  * The contents of this file are subject to the Mozilla Public License
11  * Version 1.0 (the "License"); you may not use this file except in
12  * compliance with the License. You may obtain a copy of the License at
13  * http://www.mozilla.org/MPL/
14  *
15  * Software distributed under the License is distributed on an "AS IS"
16  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17  * the License for the specific language governing rights and limitations
18  * under the License.
19  *
20  * The Original Code is Open H323 Library.
21  *
22  * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
23  *
24  * Contributor(s): ______________________________________.
25  *
26  * $Log: dllmain.cxx,v $
27  * Revision 1.3  2002/11/10 23:14:40  robertj
28  * Made sure static variables are included in DLL
29  *
30  * Revision 1.2  2000/05/02 04:32:26  robertj
31  * Fixed copyright notice comment.
32  *
33  * Revision 1.1  2000/04/13 00:02:01  robertj
34  * Added ability to create DLL version of library.
35  *
36  */
37
38 #include <ptlib.h>
39
40 #define H323_STATIC_LIB
41 #include <h323.h>
42
43
44 HINSTANCE PDllInstance;
45
46 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID)
47 {
48   if (fdwReason == DLL_PROCESS_ATTACH)
49     PDllInstance = hinstDLL;
50   return TRUE;
51 }
52