Mercurial > mplayer.hg
view loader/loader.h @ 24472:9341d242f432
Reduce code duplication
author | reimar |
---|---|
date | Fri, 14 Sep 2007 18:58:32 +0000 |
parents | c98c9e7f3bd0 |
children | 2c8cdb9123b8 |
line wrap: on
line source
/******************************************************** Win32 binary loader interface Copyright 2000 Eugene Kuznetsov (divx@euro.ru) Shamelessly stolen from Wine project *********************************************************/ /* * Modified for use with MPlayer, detailed changelog at * http://svn.mplayerhq.hu/mplayer/trunk/ * $Id$ */ #ifndef LOADER_H #define LOADER_H #ifdef __cplusplus extern "C" { #endif #include "wine/windef.h" #include "wine/driver.h" #include "wine/mmreg.h" #include "wine/vfw.h" #include "wine/msacm.h" unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename); int _GetPrivateProfileStringA(const char* appname, const char* keyname, const char* def_val, char* dest, unsigned int len, const char* filename); int _WritePrivateProfileStringA(const char* appname, const char* keyname, const char* string, const char* filename); INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id, LPSTR buffer, INT buflen ); #ifdef __cplusplus } #endif #endif /* LOADER_H */