reactos/base/services/audiosrv/audiosrv.h
Amine Khaldi 178300c8a6 * Sync to trunk HEAD (r53318).
* Fix PCH use in shell32.

svn path=/branches/shell32_new-bringup/; revision=53319
2011-08-19 17:45:34 +00:00

71 lines
1.3 KiB
C

/*
* PROJECT: ReactOS
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/services/audiosrv/audiosrv.h
* PURPOSE: Audio Service (private header)
* COPYRIGHT: Copyright 2007 Andrew Greenwood
*/
#include <windows.h>
#include <assert.h>
#include <winuser.h>
#include <setupapi.h>
#include <ks.h>
#include <ksmedia.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <dbt.h>
#include <audiosrv/audiosrv.h>
#ifndef AUDIOSRV_PRIVATE_H
#define AUDIOSRV_PRIVATE_H
extern SERVICE_STATUS_HANDLE service_status_handle;
/* List management (pnp_list_manager.c) */
VOID*
CreateDeviceDescriptor(WCHAR* path, BOOL is_enabled);
#define DestroyDeviceDescriptor(descriptor) free(descriptor)
BOOL
AppendAudioDeviceToList(PnP_AudioDevice* device);
BOOL
CreateAudioDeviceList(DWORD max_size);
VOID
DestroyAudioDeviceList(VOID);
/* Plug and Play (pnp.c) */
BOOL
ProcessExistingDevices(VOID);
DWORD
ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE* device);
BOOL
RegisterForDeviceNotifications(VOID);
VOID
UnregisterDeviceNotifications(VOID);
DWORD
HandleDeviceEvent(
DWORD dwEventType,
LPVOID lpEventData);
BOOL
StartSystemAudioServices(VOID);
/* Debugging */
void logmsg(char* string, ...);
#endif