- corrected control positions
[wine] / dlls / msacm32 / wineacm.h
1 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
2
3 /***********************************************************************
4  * Wine specific - Win32
5  */
6 typedef struct _WINE_ACMDRIVERID *PWINE_ACMDRIVERID;
7
8 typedef struct _WINE_ACMOBJ
9 {
10   PWINE_ACMDRIVERID     pACMDriverID;
11 } WINE_ACMOBJ, *PWINE_ACMOBJ;
12
13 typedef struct _WINE_ACMDRIVER
14 {
15     WINE_ACMOBJ         obj;
16     HDRVR               hDrvr;
17     DRIVERPROC          pfnDriverProc;
18 } WINE_ACMDRIVER, *PWINE_ACMDRIVER;
19
20 typedef struct _WINE_ACMSTREAM
21 {
22     WINE_ACMOBJ         obj;
23     PWINE_ACMDRIVER     pDrv;
24     ACMDRVSTREAMINSTANCE drvInst;
25 } WINE_ACMSTREAM, *PWINE_ACMSTREAM;
26
27 typedef struct _WINE_ACMDRIVERID
28 {
29     LPSTR               pszDriverAlias;
30     LPSTR               pszFileName;
31     HINSTANCE           hInstModule;          /* NULL if global */
32     DWORD               dwProcessID;          /* ID of process which installed a local driver */
33     BOOL                bEnabled;
34     PWINE_ACMDRIVER     pACMDriver;           /* NULL if not open; shouldn't this be a list ? */
35     PWINE_ACMDRIVERID   pNextACMDriverID;
36     PWINE_ACMDRIVERID   pPreviousACMDriverID;
37 } WINE_ACMDRIVERID;
38
39 /* From internal.c */
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);
52