ReactOS 0.4.15-dev-7846-g8ba6c66
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
42typedef struct _WINE_ACMOBJ
43{
47
51{
60
62{
68
69typedef struct _WINE_ACMDRIVER
70{
72 HDRVR hDrvr;
74
77
78typedef struct _WINE_ACMSTREAM
79{
83 HACMDRIVER hAcmDriver;
85
86typedef 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 {
104
106typedef 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 */
124extern PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN;
128
131
139
141
145/*
146extern PWINE_ACMLOCALDRIVER MSACM_GetLocalDriver(HACMDRIVER hDriver);
147*/
148/* From msacm32.c */
150
151/* From pcmcnvtr.c */
152LRESULT 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 */
HMODULE hModule
Definition: animate.c:44
#define CALLBACK
Definition: compat.h:35
HANDLE MSACM_hHeap
Definition: internal.c:47
PWINE_ACMDRIVERID MSACM_pFirstACMDriverID
Definition: internal.c:48
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLfloat GLfloat p
Definition: glext.h:8902
UINT MMRESULT
Definition: mmsystem.h:962
LRESULT(CALLBACK * DRIVERPROC)(DWORD_PTR, HDRVR, UINT, LPARAM, LPARAM)
Definition: mmsystem.h:1001
HINSTANCE MSACM_hInstance32
Definition: msacm32_main.c:40
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:91
LPWSTR pszDriverAlias
Definition: wineacm.h:89
PWINE_ACMDRIVER pACMDriverList
Definition: wineacm.h:92
DWORD fdwSupport
Definition: wineacm.h:98
struct _WINE_ACMDRIVERID::@483 * aFormatTag
PWINE_ACMDRIVERID pNextACMDriverID
Definition: wineacm.h:93
PWINE_ACMDRIVERID pPrevACMDriverID
Definition: wineacm.h:94
DWORD dwFormatTag
Definition: wineacm.h:100
DWORD cFilterTags
Definition: wineacm.h:96
DWORD cFormatTags
Definition: wineacm.h:97
LPWSTR pszFileName
Definition: wineacm.h:90
WINE_ACMOBJ obj
Definition: wineacm.h:88
PWINE_ACMLOCALDRIVERINST pLocalDrvrInst
Definition: wineacm.h:73
HDRVR hDrvr
Definition: wineacm.h:72
WINE_ACMOBJ obj
Definition: wineacm.h:71
PWINE_ACMDRIVER pNextACMDriver
Definition: wineacm.h:75
PWINE_ACMLOCALDRIVERINST pNextACMInst
Definition: wineacm.h:66
PWINE_ACMLOCALDRIVER pLocalDriver
Definition: wineacm.h:63
DRIVERPROC lpDrvProc
Definition: wineacm.h:54
PWINE_ACMLOCALDRIVER pPrevACMLocalDrv
Definition: wineacm.h:57
PWINE_ACMLOCALDRIVERINST pACMInstList
Definition: wineacm.h:55
PWINE_ACMLOCALDRIVER pNextACMLocalDrv
Definition: wineacm.h:56
WINE_ACMOBJ obj
Definition: wineacm.h:52
WINE_ACMOBJ obj
Definition: wineacm.h:108
PWINE_ACMNOTIFYWND pNextACMNotifyWnd
Definition: wineacm.h:112
PWINE_ACMNOTIFYWND pPrevACMNotifyWnd
Definition: wineacm.h:113
PWINE_ACMDRIVERID pACMDriverID
Definition: wineacm.h:45
DWORD dwType
Definition: wineacm.h:44
PWINE_ACMDRIVER pDrv
Definition: wineacm.h:81
WINE_ACMOBJ obj
Definition: wineacm.h:80
ACMDRVSTREAMINSTANCE drvInst
Definition: wineacm.h:82
HACMDRIVER hAcmDriver
Definition: wineacm.h:83
uint32_t DWORD_PTR
Definition: typedefs.h:65
uint32_t * LPDWORD
Definition: typedefs.h:59
WORD WORD PSZ PSZ pszFileName
Definition: vdmdbg.h:44
_In_ LPWSTR _In_ ULONG _In_ ULONG _In_ ULONG _Out_ DEVINFO _In_ HDEV _In_ LPWSTR _In_ HANDLE hDriver
Definition: winddi.h:3557
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
HANDLE MSACM_hHeap DECLSPEC_HIDDEN
Definition: wineacm.h:118
struct _WINE_ACMOBJ * PWINE_ACMOBJ
struct _WINE_ACMLOCALDRIVERINST WINE_ACMLOCALDRIVERINST
PWINE_ACMNOTIFYWND MSACM_GetNotifyWnd(HACMDRIVERID hDriver) DECLSPEC_HIDDEN
Definition: internal.c:852
BOOL MSACM_FindFormatTagInCache(const WINE_ACMDRIVERID *, DWORD, LPDWORD) DECLSPEC_HIDDEN
Definition: internal.c:118
struct _WINE_ACMLOCALDRIVER * PWINE_ACMLOCALDRIVER
Definition: wineacm.h:48
void MSACM_UnregisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:805
struct _WINE_ACMSTREAM WINE_ACMSTREAM
PWINE_ACMNOTIFYWND MSACM_RegisterNotificationWindow(HWND hNotifyWnd, DWORD dwNotifyMsg) DECLSPEC_HIDDEN
Definition: internal.c:416
void MSACM_RePositionDriver(PWINE_ACMDRIVERID, DWORD) DECLSPEC_HIDDEN
Definition: internal.c:504
PWINE_ACMDRIVER MSACM_GetDriver(HACMDRIVER hDriver) DECLSPEC_HIDDEN
Definition: internal.c:844
PWINE_ACMLOCALDRIVER MSACM_RegisterLocalDriver(HMODULE hModule, DRIVERPROC lpDriverProc) DECLSPEC_HIDDEN
Definition: internal.c:883
void MSACM_RegisterAllDrivers(void) DECLSPEC_HIDDEN
Definition: internal.c:354
struct _WINE_ACMNOTIFYWND * PWINE_ACMNOTIFYWND
Definition: wineacm.h:105
PWINE_ACMDRIVERID MSACM_RegisterDriverFromRegistry(LPCWSTR pszRegEntry) DECLSPEC_HIDDEN
Definition: internal.c:61
LRESULT CALLBACK PCM_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg, LPARAM dwParam1, LPARAM dwParam2) DECLSPEC_HIDDEN
void MSACM_DisableNotifications(void) DECLSPEC_HIDDEN
Definition: internal.c:459
LRESULT MSACM_CloseLocalDriver(PWINE_ACMLOCALDRIVERINST) DECLSPEC_HIDDEN
Definition: internal.c:1081
PWINE_ACMNOTIFYWND MSACM_UnRegisterNotificationWindow(const WINE_ACMNOTIFYWND *) DECLSPEC_HIDDEN
Definition: internal.c:481
struct _WINE_ACMLOCALDRIVER WINE_ACMLOCALDRIVER
void MSACM_EnableNotifications(void) DECLSPEC_HIDDEN
Definition: internal.c:467
PWINE_ACMDRIVERID MSACM_RegisterDriver(LPCWSTR pszDriverAlias, LPCWSTR pszFileName, PWINE_ACMLOCALDRIVER pLocalDriver) DECLSPEC_HIDDEN
Definition: internal.c:285
PWINE_ACMOBJ MSACM_GetObj(HACMOBJ hObj, DWORD type) DECLSPEC_HIDDEN
Definition: internal.c:823
struct _WINE_ACMDRIVERID WINE_ACMDRIVERID
struct _WINE_ACMSTREAM * PWINE_ACMSTREAM
struct _WINE_ACMDRIVERID * PWINE_ACMDRIVERID
Definition: wineacm.h:32
struct _WINE_ACMNOTIFYWND WINE_ACMNOTIFYWND
struct _WINE_ACMLOCALDRIVERINST * PWINE_ACMLOCALDRIVERINST
Definition: wineacm.h:49
PWINE_ACMLOCALDRIVERINST MSACM_OpenLocalDriver(PWINE_ACMLOCALDRIVER, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:1026
void MSACM_WriteCurrentPriorities(void) DECLSPEC_HIDDEN
Definition: internal.c:668
MMRESULT MSACM_Message(HACMDRIVER, UINT, LPARAM, LPARAM) DECLSPEC_HIDDEN
Definition: internal.c:872
struct _WINE_ACMDRIVER WINE_ACMDRIVER
PWINE_ACMDRIVERID MSACM_UnregisterDriver(PWINE_ACMDRIVERID p) DECLSPEC_HIDDEN
Definition: internal.c:773
struct _WINE_ACMDRIVER * PWINE_ACMDRIVER
Definition: wineacm.h:33
struct _WINE_ACMOBJ WINE_ACMOBJ
PWINE_ACMDRIVERID MSACM_GetDriverID(HACMDRIVERID hDriverID) DECLSPEC_HIDDEN
Definition: internal.c:836
void MSACM_BroadcastNotification(void) DECLSPEC_HIDDEN
Definition: internal.c:443
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185