PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ltdl_win32.h
Go to the documentation of this file.
1 // Contains all prototypes for driver functions.
2 //
3 // Copyright (C) 2008 Werner Smekal
4 //
5 // This file is part of PLplot.
6 //
7 // PLplot is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU Library General Public License as published
9 // by the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // PLplot is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU Library General Public License for more details.
16 //
17 // You should have received a copy of the GNU Library General Public License
18 // along with PLplot; if not, write to the Free Software
19 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 //
21 //
22 
23 #ifndef __LTDL_WIN32_H__
24 #define __LTDL_WIN32_H__
25 
26 #include <windows.h>
27 #include "pldll.h"
28 
29 struct __dlhandle
30 {
31  HINSTANCE hinstLib;
33 };
34 typedef struct __dlhandle* lt_dlhandle;
35 typedef void lt_ptr;
36 
37 PLDLLIMPEXP void lt_dlinit( void );
38 
39 PLDLLIMPEXP void lt_dlexit( void );
40 
41 PLDLLIMPEXP lt_dlhandle lt_dlopenext( char* dllname );
42 
43 PLDLLIMPEXP const char* lt_dlerror();
44 
45 PLDLLIMPEXP void* lt_dlsym( lt_dlhandle dlhandle, const char* symbol );
46 
47 PLDLLIMPEXP int lt_dlmakeresident( lt_dlhandle handle );
48 
49 #endif // __LTDL_WIN32_H__