wineoss: Export get_device_name_from_guid().

This commit is contained in:
Davide Beatrici 2023-06-30 22:52:50 +02:00 committed by Alexandre Julliard
parent 5a0d3fc31d
commit 10075a9e92
2 changed files with 2 additions and 1 deletions

View file

@ -200,7 +200,7 @@ static void get_device_guid(EDataFlow flow, const char *device, GUID *guid)
RegCloseKey(key);
}
static BOOL get_device_name_from_guid(GUID *guid, char **name, EDataFlow *flow)
BOOL WINAPI get_device_name_from_guid(GUID *guid, char **name, EDataFlow *flow)
{
OSSDevice *dev_item;
LIST_FOR_EACH_ENTRY(dev_item, &g_devices, OSSDevice, entry){

View file

@ -5,6 +5,7 @@
@ stdcall -private modMessage(long long long long long) OSS_modMessage
# MMDevAPI driver functions
@ 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 GetAudioEndpoint(ptr ptr ptr) AUDDRV_GetAudioEndpoint
@ stdcall -private GetAudioSessionWrapper(ptr ptr ptr) AUDDRV_GetAudioSessionWrapper