1 #ifndef MPLAYER_WINEACM_H
2 #define MPLAYER_WINEACM_H
4 /***********************************************************************
5 * Wine specific - Win32
9 #include "wine/msacmdrv.h"
11 typedef struct WINE_ACMDRIVERID
*PWINE_ACMDRIVERID
;
12 typedef struct WINE_ACMDRIVER
*PWINE_ACMDRIVER
;
14 typedef struct WINE_ACMOBJ
16 PWINE_ACMDRIVERID pACMDriverID
;
17 } WINE_ACMOBJ
, *PWINE_ACMOBJ
;
19 typedef struct WINE_ACMDRIVER
23 DRIVERPROC pfnDriverProc
;
24 PWINE_ACMDRIVER pNextACMDriver
;
28 typedef struct WINE_ACMSTREAM
32 ACMDRVSTREAMINSTANCE drvInst
;
33 HACMDRIVER hAcmDriver
;
34 } WINE_ACMSTREAM
, *PWINE_ACMSTREAM
;
36 typedef struct WINE_ACMDRIVERID
40 HINSTANCE hInstModule
; /* NULL if global */
41 DWORD dwProcessID
; /* ID of process which installed a local driver */
43 PWINE_ACMDRIVER pACMDriverList
;
44 PWINE_ACMDRIVERID pNextACMDriverID
;
45 PWINE_ACMDRIVERID pPrevACMDriverID
;
49 extern HANDLE MSACM_hHeap
;
50 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
;
51 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID
;
53 PWINE_ACMDRIVERID
MSACM_RegisterDriver(const char* pszFileName
,
55 HINSTANCE hinstModule
);
56 PWINE_ACMDRIVERID
MSACM_UnregisterDriver(PWINE_ACMDRIVERID p
);
57 void MSACM_UnregisterAllDrivers(void);
58 PWINE_ACMDRIVERID
MSACM_GetDriverID(HACMDRIVERID hDriverID
);
59 PWINE_ACMDRIVER
MSACM_GetDriver(HACMDRIVER hDriver
);
60 PWINE_ACMOBJ
MSACM_GetObj(HACMOBJ hObj
);
62 #endif /* MPLAYER_WINEACM_H */