ReactOS 0.4.16-dev-297-gc569aee
mment4.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Sound System "MME Buddy" Library (NT4 Helpers)
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: include/reactos/libs/sound/mment4.h
5 *
6 * PURPOSE: Header for the NT4 part of the "MME Buddy" helper library
7 * (located in lib/drivers/sound/mment4)
8 *
9 * PROGRAMMERS: Andrew Greenwood (silverblade@reactos.org)
10 *
11 * 31 Dec 2008 - Created
12 *
13 * NOTES: This is intended for use in building NT4 compatible audio device
14 * drivers. Include mmebuddy.h first.
15*/
16
17#ifndef ROS_AUDIO_MMENT4_H
18#define ROS_AUDIO_MMENT4_H
19
20/*
21 detect.c
22*/
23
26 PWSTR DevicePath);
27
32 IN SOUND_DEVICE_DETECTED_PROC SoundDeviceDetectedProc);
33
37 IN PWSTR BaseDeviceName,
38 IN SOUND_DEVICE_DETECTED_PROC SoundDeviceDetectedProc);
39
40
41/*
42 registry.c
43*/
44
49
53 IN DWORD DeviceIndex,
55
56
57/*
58 general.c - UNSORTED
59*/
60
63 IN PSOUND_DEVICE SoundDevice,
65 IN DWORD CapabilitiesSize);
66
69 IN PSOUND_DEVICE SoundDevice,
71 IN DWORD FormatSize);
72
75 IN PSOUND_DEVICE_INSTANCE SoundDeviceInstance,
76 IN DWORD DeviceId,
78 IN DWORD FormatSize);
79
82 IN PSOUND_DEVICE SoundDevice,
84
87 IN PSOUND_DEVICE_INSTANCE SoundDeviceInstance,
89
90#endif
static WCHAR ServiceName[]
Definition: browser.c:19
unsigned long DWORD
Definition: ntddk_ex.h:95
ULONG Handle
Definition: gdb_input.c:15
_Must_inspect_result_ typedef _Out_ PHIDP_CAPS Capabilities
Definition: hidclass.h:103
DeviceType
Definition: mmdrv.h:42
UCHAR MMDEVICE_TYPE
Definition: mmebuddy.h:88
MMRESULT OpenNt4SoundDevice(IN PSOUND_DEVICE SoundDevice, OUT PVOID *Handle)
Definition: control.c:52
MMRESULT DetectNt4SoundDevices(IN MMDEVICE_TYPE DeviceType, IN PWSTR BaseDeviceName, IN SOUND_DEVICE_DETECTED_PROC SoundDeviceDetectedProc)
Definition: detect.c:151
MMRESULT OpenSoundDriverParametersRegKey(IN LPWSTR ServiceName, OUT PHKEY KeyHandle)
Definition: registry.c:20
MMRESULT OpenSoundDeviceRegKey(IN LPWSTR ServiceName, IN DWORD DeviceIndex, OUT PHKEY KeyHandle)
Definition: registry.c:73
MMRESULT GetNt4SoundDeviceCapabilities(IN PSOUND_DEVICE SoundDevice, OUT PVOID Capabilities, IN DWORD CapabilitiesSize)
Definition: control.c:80
MMRESULT QueryNt4WaveDeviceFormatSupport(IN PSOUND_DEVICE SoundDevice, IN LPWAVEFORMATEX Format, IN DWORD FormatSize)
Definition: control.c:154
MMRESULT EnumerateNt4ServiceSoundDevices(IN LPWSTR ServiceName, IN MMDEVICE_TYPE DeviceType, IN SOUND_DEVICE_DETECTED_PROC SoundDeviceDetectedProc)
Definition: detect.c:26
MMRESULT CloseNt4SoundDevice(IN PSOUND_DEVICE_INSTANCE SoundDeviceInstance, IN PVOID Handle)
Definition: control.c:65
MMRESULT SetNt4WaveDeviceFormat(IN PSOUND_DEVICE_INSTANCE SoundDeviceInstance, IN DWORD DeviceId, IN LPWAVEFORMATEX Format, IN DWORD FormatSize)
Definition: control.c:199
BOOLEAN(* SOUND_DEVICE_DETECTED_PROC)(UCHAR DeviceType, PWSTR DevicePath)
Definition: mment4.h:24
UINT MMRESULT
Definition: mmsystem.h:962
_Must_inspect_result_ _Out_ PNDIS_STATUS _In_ NDIS_HANDLE _In_ ULONG _Out_ PNDIS_STRING _Out_ PNDIS_HANDLE KeyHandle
Definition: ndis.h:4715
#define BOOLEAN
Definition: pedump.c:73
uint16_t * PWSTR
Definition: typedefs.h:56
#define IN
Definition: typedefs.h:39
#define OUT
Definition: typedefs.h:40
unsigned char UCHAR
Definition: xmlstorage.h:181
WCHAR * LPWSTR
Definition: xmlstorage.h:184