ReactOS 0.4.16-dev-122-g325d74c
audiosrv.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PURPOSE: Audio Service (private header)
5 * COPYRIGHT: Copyright 2007 Andrew Greenwood
6 */
7
8#ifndef _AUDIOSRV_PCH_
9#define _AUDIOSRV_PCH_
10
11#include <stdarg.h>
12
13#include <windef.h>
14#include <winbase.h>
15#include <malloc.h>
16#include <dbt.h>
17#include <audiosrv/audiosrv.h>
18
19#ifndef AUDIOSRV_PRIVATE_H
20#define AUDIOSRV_PRIVATE_H
21
23
24
25/* List management (pnp_list_manager.c) */
26
27VOID*
29
30#define DestroyDeviceDescriptor(descriptor) free(descriptor)
31
32BOOL
34
35BOOL
37
38VOID
40
41
42/* Plug and Play (pnp.c) */
43
44BOOL
46
49
50BOOL
52
53VOID
55
58 DWORD dwEventType,
59 LPVOID lpEventData);
60
61BOOL
63
64#endif
65
66#endif /* _AUDIOSRV_PCH_ */
static SERVICE_STATUS_HANDLE(WINAPI *pRegisterServiceCtrlHandlerExA)(LPCSTR
BOOL RegisterForDeviceNotifications(VOID)
Definition: pnp.c:127
BOOL CreateAudioDeviceList(DWORD max_size)
BOOL AppendAudioDeviceToList(PnP_AudioDevice *device)
VOID UnregisterDeviceNotifications(VOID)
Definition: pnp.c:159
VOID DestroyAudioDeviceList(VOID)
SERVICE_STATUS_HANDLE service_status_handle
Definition: main.c:13
DWORD ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE *device)
Definition: pnp.c:111
BOOL StartSystemAudioServices(VOID)
Definition: services.c:72
DWORD HandleDeviceEvent(DWORD dwEventType, LPVOID lpEventData)
Definition: pnp.c:176
BOOL ProcessExistingDevices(VOID)
Definition: pnp.c:28
VOID * CreateDeviceDescriptor(WCHAR *path, BOOL is_enabled)
static INT max_size
Definition: history.c:51
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
Definition: devices.h:37
__wchar_t WCHAR
Definition: xmlstorage.h:180