Back to index

plt-scheme  4.2.1
init.cc
Go to the documentation of this file.
00001 /* Link this file to gcc-compiled Win32 MzScheme extensions */
00002 
00003 /* init.cc for WIN32.   Copyright 1996 Cygnus Solutions
00004 This program is free software; you can redistribute it and/or modify
00005 it under the terms of the GNU General Public License as published by
00006 the Free Software Foundation; either version 2 of the License, or
00007 (at your option) any later version.
00008 This program is distributed in the hope that it will be useful,
00009 but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 GNU General Public License for more details.
00012 You should have received a copy of the GNU General Public License
00013 along with this program; if not, write to the Free Software
00014 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
00015 
00016 #include <windows.h> 
00017 
00018 extern "C" {
00019   int WINAPI dll_entry (HANDLE h, DWORD reason, void *ptr);
00020 };
00021 
00022 int WINAPI dll_entry (HANDLE, DWORD reason, void *){
00023   switch (reason) {
00024   case DLL_PROCESS_ATTACH:
00025     break;
00026   case DLL_PROCESS_DETACH:
00027     break;
00028   case DLL_THREAD_ATTACH:
00029     break;
00030   case DLL_THREAD_DETACH:
00031     break;
00032   }
00033   return 1;
00034 }