ReactOS  0.4.14-dev-317-g96040ec
wineacm.h
Go to the documentation of this file.
1 /* -*- tab-width: 8; c-basic-offset: 4 -*- */
2 /*
3  * Copyright 2000 Eric Pouech
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19 
20 #ifndef __WINE_WINEACM_H
21 #define __WINE_WINEACM_H
22 
23 #include <windef.h>
24 #include <winuser.h>
25 #ifdef __REACTOS__
26 #include <wine/msacmdrv.h>
27 #endif
28 
29 /***********************************************************************
30  * Wine specific - Win32
31  */
34 
35 #define WINE_ACMOBJ_DONTCARE 0x5EED0000
36 #define WINE_ACMOBJ_DRIVERID 0x5EED0001
37 #define WINE_ACMOBJ_DRIVER 0x5EED0002
38 #define WINE_ACMOBJ_STREAM 0x5EED0003
39 #define WINE_ACMOBJ_NOTIFYWND 0x5EED0004
40 #define WINE_ACMOBJ_LOCALDRIVER 0x5EED0005
41 
42 typedef struct _WINE_ACMOBJ
43 {
47 
50 typedef struct _WINE_ACMLOCALDRIVER
51 {
60 
62 {
68 
69 typedef struct _WINE_ACMDRIVER
70 {
72  HDRVR hDrvr;
74 
77 
78 typedef struct _WINE_ACMSTREAM
79 {
83  HACMDRIVER hAcmDriver;
85 
86 typedef struct _WINE_ACMDRIVERID
87 {
91  PWINE_ACMLOCALDRIVER pLocalDriver; /* NULL if global */
95  /* information about the driver itself, either gotten from registry or driver itself */
99  struct {
102  }* aFormatTag;
104 
106 typedef struct _WINE_ACMNOTIFYWND
107 {
109  HWND hNotifyWnd; /* Window to notify on ACM events: driver add, driver removal, priority change */
110  DWORD dwNotifyMsg; /* Notification message to send to window */
115 
116 /* From internal.c */
121 extern void MSACM_RegisterAllDrivers(void) DECLSPEC_HIDDEN;
124 extern PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN;
127 extern PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) DECLSPEC_HIDDEN;
128 
131 
139 
141 
145 /*
146 extern PWINE_ACMLOCALDRIVER MSACM_GetLocalDriver(HACMDRIVER hDriver);
147 */
148 /* From msacm32.c */
150 
151 /* From pcmcnvtr.c */
152 LRESULT CALLBACK PCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
153  LPARAM dwParam1, LPARAM dwParam2) DECLSPEC_HIDDEN;
154 
155 /* Dialog box templates */
156 #include "msacmdlg.h"
157 
158 #endif /* __WINE_WINEACM_H */
LRESULT(CALLBACK * DRIVERPROC)(DWORD_PTR, HDRVR, UINT, LPARAM, LPARAM)
Definition: mmsystem.h:1001
PWINE_ACMNOTIFYWND pNextACMNotifyWnd
Definition: wineacm.h:112
DWORD fdwSupport
Definition: wineacm.h:98
struct _WINE_ACMLOCALDRIVER * PWINE_ACMLOCALDRIVER
Definition: wineacm.h:48
struct _WINE_ACMLOCALDRIVERINST WINE_ACMLOCALDRIVERINST
LRESULT CALLBACK PCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg, LPARAM dwParam1, LPARAM dwParam2) DECLSPEC_HIDDEN
void MSACM_BroadcastNotification(void) DECLSPEC_HIDDEN
Definition: internal.c:443
WINE_ACMOBJ obj
Definition: wineacm.h:88
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
void MSACM_WriteCurrentPriorities(void) DECLSPEC_HIDDEN
Definition: internal.c:668
HDRVR hDrvr
Definition: wineacm.h:72
PWINE_ACMDRIVERID pACMDriverID
Definition: wineacm.h:45
#define CALLBACK
Definition: compat.h:27
DWORD cFormatTags
Definition: wineacm.h:97
DWORD dwType
Definition: wineacm.h:44
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
Definition: winddi.h:3553
UINT MMRESULT
Definition: mmsystem.h:962
void MSACM_EnableNotifications(void) DECLSPEC_HIDDEN
Definition: internal.c:467
void MSACM_RePositionDriver(PWINE_ACMDRIVERID, DWORD) DECLSPEC_HIDDEN
Definition: internal.c:504
void MSACM_RegisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:354
struct _WINE_ACMSTREAM * PWINE_ACMSTREAM
PWINE_ACMLOCALDRIVERINST pNextACMInst
Definition: wineacm.h:66
DWORD cFilterTags
Definition: wineacm.h:96
PWINE_ACMLOCALDRIVERINST MSACM_OpenLocalDriver(PWINE_ACMLOCALDRIVER, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:1026
PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry) DECLSPEC_HIDDEN
Definition: internal.c:61
struct _WINE_ACMOBJ * PWINE_ACMOBJ
PWINE_ACMNOTIFYWND MSACM_UnRegisterNotificationWindow(const WINE_ACMNOTIFYWND *) DECLSPEC_HIDDEN
Definition: internal.c:481
PWINE_ACMDRIVERID pPrevACMDriverID
Definition: wineacm.h:94
struct _WINE_ACMDRIVER WINE_ACMDRIVER
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
HACMDRIVER hAcmDriver
Definition: wineacm.h:83
WORD WORD PSZ PSZ pszFileName
Definition: vdmdbg.h:41
HANDLE MSACM_hHeap
Definition: internal.c:47
struct _WINE_ACMNOTIFYWND * PWINE_ACMNOTIFYWND
Definition: wineacm.h:105
struct _WINE_ACMDRIVERID * PWINE_ACMDRIVERID
Definition: wineacm.h:32
PWINE_ACMLOCALDRIVER pPrevACMLocalDrv
Definition: wineacm.h:57
LONG_PTR LPARAM
Definition: windef.h:208
struct _WINE_ACMOBJ WINE_ACMOBJ
struct _WINE_ACMLOCALDRIVER WINE_ACMLOCALDRIVER
WINE_ACMOBJ obj
Definition: wineacm.h:80
struct _WINE_ACMDRIVER * PWINE_ACMDRIVER
Definition: wineacm.h:33
PWINE_ACMDRIVERID pNextACMDriverID
Definition: wineacm.h:93
struct _WINE_ACMNOTIFYWND WINE_ACMNOTIFYWND
PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) DECLSPEC_HIDDEN
Definition: internal.c:823
MMRESULT MSACM_Message(HACMDRIVER, UINT, LPARAM, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:872
void MSACM_UnregisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:805
LPWSTR pszDriverAlias
Definition: wineacm.h:89
PWINE_ACMDRIVER pACMDriverList
Definition: wineacm.h:92
unsigned long DWORD
Definition: ntddk_ex.h:95
ACMDRVSTREAMINSTANCE drvInst
Definition: wineacm.h:82
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:91
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:63
PWINE_ACMLOCALDRIVER pNextACMLocalDrv
Definition: wineacm.h:56
WINE_ACMOBJ obj
Definition: wineacm.h:71
BOOL MSACM_FindFormatTagInCache(const WINE_ACMDRIVERID *, DWORD, LPDWORD) DECLSPEC_HIDDEN
Definition: internal.c:118
PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
Definition: internal.c:48
LRESULT MSACM_CloseLocalDriver(PWINE_ACMLOCALDRIVERINST) DECLSPEC_HIDDEN
Definition: internal.c:1081
uint32_t DWORD_PTR
Definition: typedefs.h:63
PWINE_ACMLOCALDRIVERINST pACMInstList
Definition: wineacm.h:55
struct _WINE_ACMDRIVERID::@464 * aFormatTag
WINE_ACMOBJ obj
Definition: wineacm.h:108
PWINE_ACMLOCALDRIVER MSACM_RegisterLocalDriver(HMODULE hModule, DRIVERPROC lpDriverProc) DECLSPEC_HIDDEN
Definition: internal.c:883
PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p) DECLSPEC_HIDDEN
Definition: internal.c:773
PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNotifyMsg) DECLSPEC_HIDDEN
Definition: internal.c:416
void MSACM_DisableNotifications(void) DECLSPEC_HIDDEN
Definition: internal.c:459
unsigned int UINT
Definition: ndis.h:50
PWINE_ACMNOTIFYWND MSACM_GetNotifyWnd(HACMDRIVERID hDriver) DECLSPEC_HIDDEN
Definition: internal.c:852
PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver) DECLSPEC_HIDDEN
Definition: internal.c:844
PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN
Definition: internal.c:836
struct _WINE_ACMLOCALDRIVERINST * PWINE_ACMLOCALDRIVERINST
Definition: wineacm.h:49
uint32_t * LPDWORD
Definition: typedefs.h:57
PWINE_ACMDRIVER pDrv
Definition: wineacm.h:81
LPWSTR pszFileName
Definition: wineacm.h:90
GLfloat GLfloat p
Definition: glext.h:8902
WCHAR * LPWSTR
Definition: xmlstorage.h:184
PWINE_ACMDRIVERID MSACM_RegisterDriver(LPCWSTR pszDriverAlias, LPCWSTR pszFileName, PWINE_ACMLOCALDRIVER pLocalDriver) DECLSPEC_HIDDEN
Definition: internal.c:285
LONG_PTR LRESULT
Definition: windef.h:209
WINE_ACMOBJ obj
Definition: wineacm.h:52
HINSTANCE MSACM_hInstance32
Definition: msacm32_main.c:40
DWORD dwFormatTag
Definition: wineacm.h:100
struct _WINE_ACMDRIVERID WINE_ACMDRIVERID
PWINE_ACMDRIVER pNextACMDriver
Definition: wineacm.h:75
DRIVERPROC lpDrvProc
Definition: wineacm.h:54
HANDLE MSACM_hHeap DECLSPEC_HIDDEN
Definition: wineacm.h:118
struct _WINE_ACMSTREAM WINE_ACMSTREAM
HMODULE hModule
Definition: animate.c:44
PWINE_ACMNOTIFYWND pPrevACMNotifyWnd
Definition: wineacm.h:113
PWINE_ACMLOCALDRIVERINST pLocalDrvrInst
Definition: wineacm.h:73