mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
66 lines
1.1 KiB
C
66 lines
1.1 KiB
C
/*
|
|
* PROJECT: ReactOS
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
* PURPOSE: Audio Service (private header)
|
|
* COPYRIGHT: Copyright 2007 Andrew Greenwood
|
|
*/
|
|
|
|
#ifndef _AUDIOSRV_PCH_
|
|
#define _AUDIOSRV_PCH_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <malloc.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);
|
|
|
|
#endif
|
|
|
|
#endif /* _AUDIOSRV_PCH_ */
|