]> git.sesse.net Git - vlc/blob - loader/loader.h
ec29983d4bc65ed0b19e51587c4992ef4a8e97e9
[vlc] / loader / loader.h
1 /*
2  * Win32 binary loader interface
3  * $Id$
4  *
5  * Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
6  * Copyright (C) the Wine project
7  *
8  * Originally distributed under LPGL 2.1 (or later) by the Wine project.
9  *
10  * Modified for use with MPlayer, detailed CVS changelog at
11  * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/
12  *
13  * File now distributed as part of VLC media player with no modifications.
14  *
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 2 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
28  */
29
30 #ifndef _LOADER_H
31 #define _LOADER_H
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36
37 #include "wine/windef.h"
38 #include "wine/driver.h"
39 #include "wine/mmreg.h"
40 #include "wine/vfw.h"
41 #include "wine/msacm.h"
42
43 unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
44 int _GetPrivateProfileStringA(const char* appname, const char* keyname,
45         const char* def_val, char* dest, unsigned int len, const char* filename);
46 int _WritePrivateProfileStringA(const char* appname, const char* keyname,
47         const char* string, const char* filename);
48
49 INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
50                             LPSTR buffer, INT buflen );
51
52 #ifdef __cplusplus
53 }
54 #endif
55 #endif /* __LOADER_H */
56