Mercurial > mplayer.hg
annotate loader/loader.h @ 16113:c81b7c1c14cb
catch failed buffer allocation
author | reimar |
---|---|
date | Tue, 26 Jul 2005 20:36:34 +0000 |
parents | f5537cc95b02 |
children | 0783dd397f74 |
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 /* |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
10 * Modified for use with MPlayer, detailed CVS changelog at |
f5537cc95b02
Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents:
7386
diff
changeset
|
11 * http://www.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/ |
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 |