PLplot  5.10.0
ltdl_win32.h
Go to the documentation of this file.
00001 //      Contains all prototypes for driver functions.
00002 //
00003 //  Copyright (C) 2008  Werner Smekal
00004 //
00005 //  This file is part of PLplot.
00006 //
00007 //  PLplot is free software; you can redistribute it and/or modify
00008 //  it under the terms of the GNU Library General Public License as published
00009 //  by the Free Software Foundation; either version 2 of the License, or
00010 //  (at your option) any later version.
00011 //
00012 //  PLplot is distributed in the hope that it will be useful,
00013 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 //  GNU Library General Public License for more details.
00016 //
00017 //  You should have received a copy of the GNU Library General Public License
00018 //  along with PLplot; if not, write to the Free Software
00019 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00020 //
00021 //
00022 
00023 #ifndef __LTDL_WIN32_H__
00024 #define __LTDL_WIN32_H__
00025 
00026 #include <windows.h>
00027 #include "pldll.h"
00028 
00029 struct __dlhandle
00030 {
00031     HINSTANCE        hinstLib;
00032     struct __dlhandle* previousHandle;
00033 };
00034 typedef struct __dlhandle*  lt_dlhandle;
00035 typedef void                lt_ptr;
00036 
00037 PLDLLIMPEXP void lt_dlinit( void );
00038 
00039 PLDLLIMPEXP void lt_dlexit( void );
00040 
00041 PLDLLIMPEXP lt_dlhandle lt_dlopenext( char* dllname );
00042 
00043 PLDLLIMPEXP const char* lt_dlerror();
00044 
00045 PLDLLIMPEXP void* lt_dlsym( lt_dlhandle dlhandle, const char* symbol );
00046 
00047 PLDLLIMPEXP int lt_dlmakeresident( lt_dlhandle handle );
00048 
00049 #endif // __LTDL_WIN32_H__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines