Mercurial > mplayer.hg
annotate loader/loader.h @ 19588:0b5aaf5cda6a
Bugfix: strdup of NULL value.
author | eugeni |
---|---|
date | Tue, 29 Aug 2006 18:15:48 +0000 |
parents | 0783dd397f74 |
children | c98c9e7f3bd0 |
rev | line source |
---|---|
1 | 1 /******************************************************** |
2 | |
3 Win32 binary loader interface | |
128 | 4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru) |
1 | 5 Shamelessly stolen from Wine project |
6 | |
7 *********************************************************/ | |
8 | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
9 /* |
18783 | 10 * Modified for use with MPlayer, detailed changelog at |
11 * http://svn.mplayerhq.hu/mplayer/trunk/ | |
15166
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
12 * $Id$ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
13 */ |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
14 |
1 | 15 #ifndef _LOADER_H |
16 #define _LOADER_H | |
7386 | 17 |
1 | 18 #ifdef __cplusplus |
19 extern "C" { | |
20 #endif | |
21 | |
7386 | 22 #include "wine/windef.h" |
23 #include "wine/driver.h" | |
24 #include "wine/mmreg.h" | |
25 #include "wine/vfw.h" | |
26 #include "wine/msacm.h" | |
1494 | 27 |
1 | 28 unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename); |
29 int _GetPrivateProfileStringA(const char* appname, const char* keyname, | |
30 const char* def_val, char* dest, unsigned int len, const char* filename); | |
31 int _WritePrivateProfileStringA(const char* appname, const char* keyname, | |
32 const char* string, const char* filename); | |
33 | |
1307
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
128
diff
changeset
|
34 INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id, |
d8c1b0b38edc
Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents:
128
diff
changeset
|
35 LPSTR buffer, INT buflen ); |
128 | 36 |
1 | 37 #ifdef __cplusplus |
38 } | |
39 #endif | |
40 #endif /* __LOADER_H */ | |
41 |