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"
12 typedef struct WINE_ACMDRIVERID
*PWINE_ACMDRIVERID
;
13 typedef struct WINE_ACMDRIVER
*PWINE_ACMDRIVER
;
15 typedef struct WINE_ACMOBJ
17 PWINE_ACMDRIVERID pACMDriverID
;
18 } WINE_ACMOBJ
, *PWINE_ACMOBJ
;
20 typedef struct WINE_ACMDRIVER
24 DRIVERPROC pfnDriverProc
;
25 PWINE_ACMDRIVER pNextACMDriver
;
29 typedef struct WINE_ACMSTREAM
33 ACMDRVSTREAMINSTANCE drvInst
;
34 HACMDRIVER hAcmDriver
;
35 } WINE_ACMSTREAM
, *PWINE_ACMSTREAM
;
37 typedef struct WINE_ACMDRIVERID
41 HINSTANCE hInstModule
; /* NULL if global */
42 DWORD dwProcessID
; /* ID of process which installed a local driver */
44 PWINE_ACMDRIVER pACMDriverList
;
45 PWINE_ACMDRIVERID pNextACMDriverID
;
46 PWINE_ACMDRIVERID pPrevACMDriverID
;
50 extern HANDLE MSACM_hHeap
;
51 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
;
52 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID
;
54 PWINE_ACMDRIVERID
MSACM_RegisterDriver(const char* pszFileName
,
56 HINSTANCE hinstModule
);
57 PWINE_ACMDRIVERID
MSACM_UnregisterDriver(PWINE_ACMDRIVERID p
);
58 void MSACM_UnregisterAllDrivers(void);
59 PWINE_ACMDRIVERID
MSACM_GetDriverID(HACMDRIVERID hDriverID
);
60 PWINE_ACMDRIVER
MSACM_GetDriver(HACMDRIVER hDriver
);
61 PWINE_ACMOBJ
MSACM_GetObj(HACMOBJ hObj
);
63 #endif /* MPLAYER_WINEACM_H */