1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winealsa: Export get_device_guid().

This commit is contained in:
Davide Beatrici 2023-08-13 02:14:57 +02:00 committed by Alexandre Julliard
parent 557a6a1ba6
commit ac324a06e2
2 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@ exit:
RegCloseKey(drv_key); RegCloseKey(drv_key);
} }
static void get_device_guid(EDataFlow flow, const char *device, GUID *guid) void WINAPI get_device_guid(EDataFlow flow, const char *device, GUID *guid)
{ {
HKEY key = NULL, dev_key; HKEY key = NULL, dev_key;
DWORD type, size = sizeof(*guid); DWORD type, size = sizeof(*guid);

View file

@ -4,5 +4,6 @@
@ stdcall -private modMessage(long long long long long) ALSA_modMessage @ stdcall -private modMessage(long long long long long) ALSA_modMessage
# MMDevAPI driver functions # MMDevAPI driver functions
@ stdcall -private get_device_guid(long ptr ptr) get_device_guid
@ stdcall -private get_device_name_from_guid(ptr ptr ptr) get_device_name_from_guid @ stdcall -private get_device_name_from_guid(ptr ptr ptr) get_device_name_from_guid
@ stdcall -private GetEndpointIDs(long ptr ptr ptr ptr) AUDDRV_GetEndpointIDs @ stdcall -private GetEndpointIDs(long ptr ptr ptr ptr) AUDDRV_GetEndpointIDs