Utilise new MergeSym feature to no longer overwrite the source .DEF file when buildin...
[openh323.git] / src / dllmain.cxx
blob7b4f5c5654426356896efcb570ca3052a73cfd82
1 /*
2 * dllmain.cxx
4 * DLL main entry point for OpenH323.dll
6 * Open H323 Library
8 * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
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/
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.
20 * The Original Code is Open H323 Library.
22 * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
24 * Contributor(s): ______________________________________.
26 * $Log$
27 * Revision 1.3 2002/11/10 23:14:40 robertj
28 * Made sure static variables are included in DLL
30 * Revision 1.2 2000/05/02 04:32:26 robertj
31 * Fixed copyright notice comment.
33 * Revision 1.1 2000/04/13 00:02:01 robertj
34 * Added ability to create DLL version of library.
38 #include <ptlib.h>
40 #define H323_STATIC_LIB
41 #include <h323.h>
44 HINSTANCE PDllInstance;
46 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID)
48 if (fdwReason == DLL_PROCESS_ATTACH)
49 PDllInstance = hinstDLL;
50 return TRUE;