28 DPRINT(
"Failed to malloc device descriptor\n");
32 device->enabled = is_enabled;
88 DPRINT(
"Device added to list\n");
107 DPRINT(
"Creating file mapping\n");
125 DPRINT(
"Mapping view of file\n");
155 DPRINT(
"Device list created\n");
163 DPRINT(
"Destroying device list\n");
#define INVALID_HANDLE_VALUE
#define CreateFileMappingW(a, b, c, d, e, f)
#define memcpy(s1, s2, n)
BOOL InitializeAudioDeviceListLock(VOID)
VOID LockAudioDeviceList(VOID)
VOID KillAudioDeviceListLock(VOID)
VOID UnlockAudioDeviceList(VOID)
BOOL CreateAudioDeviceList(DWORD max_size)
BOOL AppendAudioDeviceToList(PnP_AudioDevice *device)
static PnP_AudioHeader * audio_device_list
VOID DestroyAudioDeviceList(VOID)
static HANDLE device_list_file
VOID * CreateDeviceDescriptor(WCHAR *path, BOOL is_enabled)
#define WideStringSize(str)
DWORD WINAPI GetLastError(void)