Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenaudiosrv.h
Go to the documentation of this file.
00001 /* 00002 * PROJECT: ReactOS 00003 * LICENSE: GPL - See COPYING in the top level directory 00004 * FILE: base/services/audiosrv/audiosrv.h 00005 * PURPOSE: Audio Service (private header) 00006 * COPYRIGHT: Copyright 2007 Andrew Greenwood 00007 */ 00008 00009 #include <windows.h> 00010 #include <assert.h> 00011 #include <winuser.h> 00012 #include <setupapi.h> 00013 #include <ks.h> 00014 #include <ksmedia.h> 00015 #include <stdio.h> 00016 #include <stdarg.h> 00017 #include <stdlib.h> 00018 #include <dbt.h> 00019 #include <audiosrv/audiosrv.h> 00020 00021 #ifndef AUDIOSRV_PRIVATE_H 00022 #define AUDIOSRV_PRIVATE_H 00023 00024 extern SERVICE_STATUS_HANDLE service_status_handle; 00025 00026 00027 /* List management (pnp_list_manager.c) */ 00028 00029 VOID* 00030 CreateDeviceDescriptor(WCHAR* path, BOOL is_enabled); 00031 00032 #define DestroyDeviceDescriptor(descriptor) free(descriptor) 00033 00034 BOOL 00035 AppendAudioDeviceToList(PnP_AudioDevice* device); 00036 00037 BOOL 00038 CreateAudioDeviceList(DWORD max_size); 00039 00040 VOID 00041 DestroyAudioDeviceList(VOID); 00042 00043 00044 /* Plug and Play (pnp.c) */ 00045 00046 BOOL 00047 ProcessExistingDevices(VOID); 00048 00049 DWORD 00050 ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE* device); 00051 00052 BOOL 00053 RegisterForDeviceNotifications(VOID); 00054 00055 VOID 00056 UnregisterDeviceNotifications(VOID); 00057 00058 DWORD 00059 HandleDeviceEvent( 00060 DWORD dwEventType, 00061 LPVOID lpEventData); 00062 00063 BOOL 00064 StartSystemAudioServices(VOID); 00065 00066 /* Debugging */ 00067 00068 void logmsg(char* string, ...); 00069 00070 #endif Generated on Sat May 26 2012 04:16:33 for ReactOS by
1.7.6.1
|