D:/Storage/CVS_Head/h323plus/src/dllmain.cxx

00001 /*
00002  * dllmain.cxx
00003  *
00004  * DLL main entry point for OpenH323.dll
00005  *
00006  * Open H323 Library
00007  *
00008  * Copyright (c) 1993-1998 Equivalence Pty. Ltd.
00009  *
00010  * The contents of this file are subject to the Mozilla Public License
00011  * Version 1.0 (the "License"); you may not use this file except in
00012  * compliance with the License. You may obtain a copy of the License at
00013  * http://www.mozilla.org/MPL/
00014  *
00015  * Software distributed under the License is distributed on an "AS IS"
00016  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
00017  * the License for the specific language governing rights and limitations
00018  * under the License.
00019  *
00020  * The Original Code is Open H323 Library.
00021  *
00022  * The Initial Developer of the Original Code is Equivalence Pty. Ltd.
00023  *
00024  * Contributor(s): ______________________________________.
00025  *
00026  * $Log: dllmain.cxx,v $
00027  * Revision 1.1  2007/08/06 20:51:03  shorne
00028  * First commit of h323plus
00029  *
00030  * Revision 1.3  2002/11/10 23:14:40  robertj
00031  * Made sure static variables are included in DLL
00032  *
00033  * Revision 1.2  2000/05/02 04:32:26  robertj
00034  * Fixed copyright notice comment.
00035  *
00036  * Revision 1.1  2000/04/13 00:02:01  robertj
00037  * Added ability to create DLL version of library.
00038  *
00039  */
00040 
00041 #include <ptlib.h>
00042 
00043 #define H323_STATIC_LIB
00044 #include <h323.h>
00045 
00046 
00047 HINSTANCE PDllInstance;
00048 
00049 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID)
00050 {
00051   if (fdwReason == DLL_PROCESS_ATTACH)
00052     PDllInstance = hinstDLL;
00053   return TRUE;
00054 }
00055 

Generated on Thu Oct 25 13:42:38 2007 for h323plus by  doxygen 1.5.2