ReactOS  0.4.13-dev-1148-g9b75b67
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 {
59 
61 {
67 
68 typedef struct _WINE_ACMDRIVER
69 {
71  HDRVR hDrvr;
73 
76 
77 typedef struct _WINE_ACMSTREAM
78 {
82  HACMDRIVER hAcmDriver;
84 
85 typedef struct _WINE_ACMDRIVERID
86 {
90  PWINE_ACMLOCALDRIVER pLocalDriver; /* NULL if global */
94  /* information about the driver itself, either gotten from registry or driver itself */
98  struct {
101  }* aFormatTag;
103 
105 typedef struct _WINE_ACMNOTIFYWND
106 {
108  HWND hNotifyWnd; /* Window to notify on ACM events: driver add, driver removal, priority change */
109  DWORD dwNotifyMsg; /* Notification message to send to window */
114 
115 /* From internal.c */
120 extern void MSACM_RegisterAllDrivers(void) DECLSPEC_HIDDEN;
123 extern PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN;
126 extern PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) DECLSPEC_HIDDEN;
127 
130 
138 
140 
144 /*
145 extern PWINE_ACMLOCALDRIVER MSACM_GetLocalDriver(HACMDRIVER hDriver);
146 */
147 /* From msacm32.c */
149 
150 /* From pcmcnvtr.c */
151 LRESULT CALLBACK PCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
152  LPARAM dwParam1, LPARAM dwParam2) DECLSPEC_HIDDEN;
153 
154 /* Dialog box templates */
155 #include "msacmdlg.h"
156 
157 #endif /* __WINE_WINEACM_H */
LRESULT(CALLBACK * DRIVERPROC)(DWORD_PTR, HDRVR, UINT, LPARAM, LPARAM)
Definition: mmsystem.h:1001
PWINE_ACMNOTIFYWND pNextACMNotifyWnd
Definition: wineacm.h:111
DWORD fdwSupport
Definition: wineacm.h:97
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:441
WINE_ACMOBJ obj
Definition: wineacm.h:87
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
void MSACM_WriteCurrentPriorities(void) DECLSPEC_HIDDEN
Definition: internal.c:666
HDRVR hDrvr
Definition: wineacm.h:71
PWINE_ACMDRIVERID pACMDriverID
Definition: wineacm.h:45
#define CALLBACK
Definition: compat.h:27
DWORD cFormatTags
Definition: wineacm.h:96
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:465
void MSACM_RePositionDriver(PWINE_ACMDRIVERID, DWORD) DECLSPEC_HIDDEN
Definition: internal.c:502
void MSACM_RegisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:352
struct _WINE_ACMSTREAM * PWINE_ACMSTREAM
PWINE_ACMLOCALDRIVERINST pNextACMInst
Definition: wineacm.h:65
DWORD cFilterTags
Definition: wineacm.h:95
PWINE_ACMLOCALDRIVERINST MSACM_OpenLocalDriver(PWINE_ACMLOCALDRIVER, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:1014
PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry) DECLSPEC_HIDDEN
Definition: internal.c:59
struct _WINE_ACMOBJ * PWINE_ACMOBJ
PWINE_ACMNOTIFYWND MSACM_UnRegisterNotificationWindow(const WINE_ACMNOTIFYWND *) DECLSPEC_HIDDEN
Definition: internal.c:479
PWINE_ACMDRIVERID pPrevACMDriverID
Definition: wineacm.h:93
struct _WINE_ACMDRIVERID::@456 * aFormatTag
struct _WINE_ACMDRIVER WINE_ACMDRIVER
unsigned int BOOL
Definition: ntddk_ex.h:94
HACMDRIVER hAcmDriver
Definition: wineacm.h:82
WORD WORD PSZ PSZ pszFileName
Definition: vdmdbg.h:41
HANDLE MSACM_hHeap
Definition: internal.c:45
struct _WINE_ACMNOTIFYWND * PWINE_ACMNOTIFYWND
Definition: wineacm.h:104
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:79
struct _WINE_ACMDRIVER * PWINE_ACMDRIVER
Definition: wineacm.h:33
PWINE_ACMDRIVERID pNextACMDriverID
Definition: wineacm.h:92
struct _WINE_ACMNOTIFYWND WINE_ACMNOTIFYWND
PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) DECLSPEC_HIDDEN
Definition: internal.c:816
MMRESULT MSACM_Message(HACMDRIVER, UINT, LPARAM, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:865
void MSACM_UnregisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:798
LPWSTR pszDriverAlias
Definition: wineacm.h:88
PWINE_ACMDRIVER pACMDriverList
Definition: wineacm.h:91
unsigned long DWORD
Definition: ntddk_ex.h:95
ACMDRVSTREAMINSTANCE drvInst
Definition: wineacm.h:81
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:90
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:62
PWINE_ACMLOCALDRIVER pNextACMLocalDrv
Definition: wineacm.h:56
WINE_ACMOBJ obj
Definition: wineacm.h:70
BOOL MSACM_FindFormatTagInCache(const WINE_ACMDRIVERID *, DWORD, LPDWORD) DECLSPEC_HIDDEN
Definition: internal.c:116
PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
Definition: internal.c:46
LRESULT MSACM_CloseLocalDriver(PWINE_ACMLOCALDRIVERINST) DECLSPEC_HIDDEN
Definition: internal.c:1069
uint32_t DWORD_PTR
Definition: typedefs.h:63
PWINE_ACMLOCALDRIVERINST pACMInstList
Definition: wineacm.h:55
WINE_ACMOBJ obj
Definition: wineacm.h:107
PWINE_ACMLOCALDRIVER MSACM_RegisterLocalDriver(HMODULE hModule, DRIVERPROC lpDriverProc) DECLSPEC_HIDDEN
Definition: internal.c:876
PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p) DECLSPEC_HIDDEN
Definition: internal.c:766
PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNotifyMsg) DECLSPEC_HIDDEN
Definition: internal.c:414
void MSACM_DisableNotifications(void) DECLSPEC_HIDDEN
Definition: internal.c:457
unsigned int UINT
Definition: ndis.h:50
PWINE_ACMNOTIFYWND MSACM_GetNotifyWnd(HACMDRIVERID hDriver) DECLSPEC_HIDDEN
Definition: internal.c:845
PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver) DECLSPEC_HIDDEN
Definition: internal.c:837
PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN
Definition: internal.c:829
struct _WINE_ACMLOCALDRIVERINST * PWINE_ACMLOCALDRIVERINST
Definition: wineacm.h:49
uint32_t * LPDWORD
Definition: typedefs.h:57
PWINE_ACMDRIVER pDrv
Definition: wineacm.h:80
LPWSTR pszFileName
Definition: wineacm.h:89
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:283
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:99
struct _WINE_ACMDRIVERID WINE_ACMDRIVERID
PWINE_ACMDRIVER pNextACMDriver
Definition: wineacm.h:74
DRIVERPROC lpDrvProc
Definition: wineacm.h:54
HANDLE MSACM_hHeap DECLSPEC_HIDDEN
Definition: wineacm.h:117
struct _WINE_ACMSTREAM WINE_ACMSTREAM
HMODULE hModule
Definition: animate.c:44
PWINE_ACMNOTIFYWND pPrevACMNotifyWnd
Definition: wineacm.h:112
PWINE_ACMLOCALDRIVERINST pLocalDrvrInst
Definition: wineacm.h:72