summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libw32dll/wine/loader.h')
-rw-r--r--src/libw32dll/wine/loader.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/libw32dll/wine/loader.h b/src/libw32dll/wine/loader.h
index 172808ce4..8f5ffae9b 100644
--- a/src/libw32dll/wine/loader.h
+++ b/src/libw32dll/wine/loader.h
@@ -8,16 +8,17 @@
#ifndef _LOADER_H
#define _LOADER_H
-#include "windef.h"
-#include "driver.h"
-#include "mmreg.h"
-#include "vfw.h"
-#include "msacm.h"
-
+#include <wine/windef.h>
+#include <wine/driver.h>
+#include <wine/mmreg.h>
+#include <wine/vfw.h>
+#include <wine/msacm.h>
#ifdef __cplusplus
extern "C" {
#endif
+extern char* win32_codec_name; // must be set before calling DrvOpen() !!!
+
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);
@@ -30,7 +31,7 @@ int _WritePrivateProfileStringA(const char* appname, const char* keyname,
MS VFW ( Video For Windows ) interface
**********************************************/
-#if D_VFW
+
long VFWAPIV ICCompress(
HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiOutput,void* lpData,
LPBITMAPINFOHEADER lpbiInput,void* lpBits,long* lpckid,
@@ -40,7 +41,7 @@ long VFWAPIV ICCompress(
long VFWAPIV ICDecompress(HIC hic,long dwFlags,LPBITMAPINFOHEADER lpbiFormat,void* lpData,LPBITMAPINFOHEADER lpbi,void* lpBits);
-WIN_BOOL VFWAPI ICInfo(long fccType, long fccHandler, ICINFO * lpicinfo);
+WIN_BOOL VFWAPI ICInfo(long fccType, long fccHandler, ICINFO * lpicinfo);
LRESULT VFWAPI ICGetInfo(HIC hic,ICINFO *picinfo, long cb);
HIC VFWAPI ICOpen(long fccType, long fccHandler, UINT wMode);
HIC VFWAPI ICOpenFunction(long fccType, long fccHandler, unsigned int wMode, void* lpfnHandler);
@@ -50,7 +51,7 @@ LRESULT VFWAPI ICSendMessage(HIC hic, unsigned int msg, long dw1, long dw2);
HIC VFWAPI ICLocate(long fccType, long fccHandler, LPBITMAPINFOHEADER lpbiIn, LPBITMAPINFOHEADER lpbiOut, short wFlags);
int VFWAPI ICDoSomething();
-#endif // D_VFW
+
#define ICCompressGetFormat(hic, lpbiInput, lpbiOutput) \
ICSendMessage( \
hic,ICM_COMPRESS_GET_FORMAT,(long)(void*)(lpbiInput), \
@@ -137,7 +138,7 @@ int VFWAPI ICDoSomething();
******************************************************/
-#ifdef D_MSACM
+
MMRESULT WINAPI acmDriverAddA(
PHACMDRIVERID phadid, HINSTANCE hinstModule,
LPARAM lParam, DWORD dwPriority, DWORD fdwAdd
@@ -277,7 +278,7 @@ MMRESULT WINAPI acmStreamSize(
MMRESULT WINAPI acmStreamUnprepareHeader(
HACMSTREAM has, PACMSTREAMHEADER pash, DWORD fdwUnprepare
);
-#endif // D_MSACM
+void MSACM_RegisterAllDrivers(void);
INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
LPSTR buffer, INT buflen );
@@ -286,3 +287,4 @@ INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
}
#endif
#endif /* __LOADER_H */
+