47 interface_data.
cbSize =
sizeof(interface_data);
63 DPRINT(
"failed to allocate detail_data\n");
80 device_data.
cbSize =
sizeof(device_data);
133 ZeroMemory(¬ification_filter,
sizeof(notification_filter));
140 ¬ification_filter,
141 DEVICE_NOTIFY_SERVICE_HANDLE
BOOL AppendAudioDeviceToList(PnP_AudioDevice *device)
SERVICE_STATUS_HANDLE service_status_handle
#define DestroyDeviceDescriptor(descriptor)
VOID * CreateDeviceDescriptor(WCHAR *path, BOOL is_enabled)
BOOL RegisterForDeviceNotifications(VOID)
VOID UnregisterDeviceNotifications(VOID)
static HDEVNOTIFY device_notification_handle
DWORD ProcessDeviceArrival(DEV_BROADCAST_DEVICEINTERFACE *device)
DWORD HandleDeviceEvent(DWORD dwEventType, LPVOID lpEventData)
BOOL ProcessExistingDevices(VOID)
#define DBT_DEVICEARRIVAL
#define DBT_DEVTYP_DEVICEINTERFACE
DEV_BROADCAST_DEVICEINTERFACE_A DEV_BROADCAST_DEVICEINTERFACE
#define HeapFree(x, y, z)
BOOL WINAPI SetupDiEnumDeviceInterfaces(HDEVINFO DeviceInfoSet, PSP_DEVINFO_DATA DeviceInfoData, CONST GUID *InterfaceClassGuid, DWORD MemberIndex, PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
HDEVINFO WINAPI SetupDiGetClassDevsExW(CONST GUID *class, PCWSTR enumstr, HWND parent, DWORD flags, HDEVINFO deviceset, PCWSTR machine, PVOID reserved)
BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(HDEVINFO DeviceInfoSet, PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, PSP_DEVICE_INTERFACE_DETAIL_DATA_W DeviceInterfaceDetailData, DWORD DeviceInterfaceDetailDataSize, PDWORD RequiredSize, PSP_DEVINFO_DATA DeviceInfoData)
BOOL WINAPI SetupDiDestroyDeviceInfoList(HDEVINFO devinfo)
GLuint GLsizei GLsizei * length
HDEVNOTIFY WINAPI RegisterDeviceNotificationW(HANDLE hRecipient, LPVOID NotificationFilter, DWORD Flags)
SP_DEVICE_INTERFACE_DETAIL_DATA_A SP_DEVICE_INTERFACE_DETAIL_DATA
#define DIGCF_DEVICEINTERFACE
struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W SP_DEVICE_INTERFACE_DETAIL_DATA_W
struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W * PSP_DEVICE_INTERFACE_DETAIL_DATA_W
DWORD WINAPI GetLastError(void)