1 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
3 /***********************************************************************
4 * Wine specific - Win32
6 typedef struct _WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
8 typedef struct _WINE_ACMOBJ
10 PWINE_ACMDRIVERID pACMDriverID;
11 } WINE_ACMOBJ, *PWINE_ACMOBJ;
13 typedef struct _WINE_ACMDRIVER
17 DRIVERPROC pfnDriverProc;
18 } WINE_ACMDRIVER, *PWINE_ACMDRIVER;
20 typedef struct _WINE_ACMSTREAM
24 ACMDRVSTREAMINSTANCE drvInst;
25 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
27 typedef struct _WINE_ACMDRIVERID
31 HINSTANCE hInstModule; /* NULL if global */
32 DWORD dwProcessID; /* ID of process which installed a local driver */
34 PWINE_ACMDRIVER pACMDriver; /* NULL if not open; shouldn't this be a list ? */
35 PWINE_ACMDRIVERID pNextACMDriverID;
36 PWINE_ACMDRIVERID pPreviousACMDriverID;
40 extern HANDLE MSACM_hHeap;
41 extern PWINE_ACMDRIVERID MSACM_pFirstACMDriverID;
42 extern PWINE_ACMDRIVERID MSACM_pLastACMDriverID;
43 PWINE_ACMDRIVERID MSACM_RegisterDriver(
44 LPSTR pszDriverAlias, LPSTR pszFileName,
45 HINSTANCE hinstModule);
46 void MSACM_RegisterAllDrivers(void);
47 PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p);
48 void MSACM_UnregisterAllDrivers(void);
49 PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID);
50 PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver);
51 PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj);