1 #ifndef MPLAYER_WINEACM_H
2 #define MPLAYER_WINEACM_H
3 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
5 /***********************************************************************
6 * Wine specific - Win32
10 #include "wine/msacmdrv.h"
14 #endif /* defined(__cplusplus) */
17 typedef struct WINE_ACMDRIVERID
*PWINE_ACMDRIVERID
;
18 typedef struct WINE_ACMDRIVER
*PWINE_ACMDRIVER
;
20 typedef struct WINE_ACMOBJ
22 PWINE_ACMDRIVERID pACMDriverID
;
23 } WINE_ACMOBJ
, *PWINE_ACMOBJ
;
25 typedef struct WINE_ACMDRIVER
29 DRIVERPROC pfnDriverProc
;
30 PWINE_ACMDRIVER pNextACMDriver
;
34 typedef struct WINE_ACMSTREAM
38 ACMDRVSTREAMINSTANCE drvInst
;
39 HACMDRIVER hAcmDriver
;
40 } WINE_ACMSTREAM
, *PWINE_ACMSTREAM
;
42 typedef struct WINE_ACMDRIVERID
46 HINSTANCE hInstModule
; /* NULL if global */
47 DWORD dwProcessID
; /* ID of process which installed a local driver */
49 PWINE_ACMDRIVER pACMDriverList
;
50 PWINE_ACMDRIVERID pNextACMDriverID
;
51 PWINE_ACMDRIVERID pPrevACMDriverID
;
55 extern HANDLE MSACM_hHeap
;
56 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
;
57 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID
;
59 PWINE_ACMDRIVERID
MSACM_RegisterDriver(const char* pszFileName
,
61 HINSTANCE hinstModule
);
62 PWINE_ACMDRIVERID
MSACM_UnregisterDriver(PWINE_ACMDRIVERID p
);
63 void MSACM_UnregisterAllDrivers(void);
64 PWINE_ACMDRIVERID
MSACM_GetDriverID(HACMDRIVERID hDriverID
);
65 PWINE_ACMDRIVER
MSACM_GetDriver(HACMDRIVER hDriver
);
66 PWINE_ACMOBJ
MSACM_GetObj(HACMOBJ hObj
);
70 #endif /* defined(__cplusplus) */
72 #endif /* MPLAYER_WINEACM_H */