annotate loader/loader.h @ 37183:eaa58d991a06

Use intptr_t to cast a pointer. Avoids warnings especially when compiling for 64-bit Windows. Patch by Stephen Sheldon [sfsheldo gmail].
author reimar
date Wed, 17 Sep 2014 16:55:09 +0000
parents db0bb7511440
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /********************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 Win32 binary loader interface
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 Shamelessly stolen from Wine project
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 *********************************************************/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
15166
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
9 /*
18783
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
10 * Modified for use with MPlayer, detailed changelog at
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
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 */
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
13
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25849
diff changeset
14 #ifndef MPLAYER_LOADER_H
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25849
diff changeset
15 #define MPLAYER_LOADER_H
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
16
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
17 #include "wine/windef.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
18 #include "wine/driver.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
19 #include "wine/mmreg.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
20 #include "wine/vfw.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
21 #include "wine/msacm.h"
32077
db0bb7511440 Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents: 30496
diff changeset
22 #include "wine/module.h"
db0bb7511440 Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents: 30496
diff changeset
23
db0bb7511440 Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents: 30496
diff changeset
24
db0bb7511440 Move local_wm extern variable declaration to loader.h, which is better suited.
diego
parents: 30496
diff changeset
25 extern modref_list* local_wm;
1494
d11e510d0c04 SetCodecPath -> win32_codec_name
arpi
parents: 1307
diff changeset
26
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 24422
diff changeset
27 unsigned int GetPrivateProfileIntA_(const char* appname, const char* keyname, int default_value, const char* filename);
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 24422
diff changeset
28 int GetPrivateProfileStringA_(const char* appname, const char* keyname,
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 const char* def_val, char* dest, unsigned int len, const char* filename);
25794
2c8cdb9123b8 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
diego
parents: 24422
diff changeset
30 int WritePrivateProfileStringA_(const char* appname, const char* keyname,
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 const char* string, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 128
diff changeset
33 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
34 LPSTR buffer, INT buflen );
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
35
26045
a8ea87c71d18 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25849
diff changeset
36 #endif /* MPLAYER_LOADER_H */