ReactOS  0.4.12-dev-14-gd0c8636
audiosrv.h
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: base/services/audiosrv/audiosrv.h
5  * PURPOSE: Audio Service (private header)
6  * COPYRIGHT: Copyright 2007 Andrew Greenwood
7  */
8 
9 #ifndef _AUDIOSRV_PCH_
10 #define _AUDIOSRV_PCH_
11 
12 #include <stdarg.h>
13 
14 #include <windef.h>
15 #include <winbase.h>
16 #include <malloc.h>
17 #include <dbt.h>
18 #include <audiosrv/audiosrv.h>
19 
20 #ifndef AUDIOSRV_PRIVATE_H
21 #define AUDIOSRV_PRIVATE_H
22 
24 
25 
26 /* List management (pnp_list_manager.c) */
27 
28 VOID*
30 
31 #define DestroyDeviceDescriptor(descriptor) free(descriptor)
32 
33 BOOL
35 
36 BOOL
38 
39 VOID
41 
42 
43 /* Plug and Play (pnp.c) */
44 
45 BOOL
47 
48 DWORD
50 
51 BOOL
53 
54 VOID
56 
57 DWORD
59  DWORD dwEventType,
60  LPVOID lpEventData);
61 
62 BOOL
64 
65 /* Debugging */
66 
67 void logmsg(char* string, ...);
68 
69 #endif
70 
71 #endif /* _AUDIOSRV_PCH_ */
VOID DestroyAudioDeviceList(VOID)
DWORD HandleDeviceEvent(DWORD dwEventType, LPVOID lpEventData)
Definition: pnp.c:176
BOOL AppendAudioDeviceToList(PnP_AudioDevice *device)
__wchar_t WCHAR
Definition: xmlstorage.h:180
SERVICE_STATUS_HANDLE service_status_handle
Definition: main.c:11
DWORD ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE *device)
Definition: pnp.c:111
Definition: devices.h:39
BOOL StartSystemAudioServices(VOID)
static INT max_size
Definition: history.c:51
BOOL CreateAudioDeviceList(DWORD max_size)
BOOL ProcessExistingDevices(VOID)
static SERVICE_STATUS_HANDLE(WINAPI *pRegisterServiceCtrlHandlerExA)(LPCSTR
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
void logmsg(char *string,...)
Definition: debug.c:7
BOOL RegisterForDeviceNotifications(VOID)
Definition: services.c:325
VOID UnregisterDeviceNotifications(VOID)
VOID * CreateDeviceDescriptor(WCHAR *path, BOOL is_enabled)