1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

dmusic: Use nameless unions/structs.

This commit is contained in:
Alexandre Julliard 2023-07-12 15:47:38 +02:00
parent 2bf29480c5
commit 43ed6c6d67
2 changed files with 4 additions and 7 deletions

View File

@ -25,9 +25,6 @@
#include <stdarg.h>
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "windef.h"
#include "winbase.h"
#include "winnt.h"

View File

@ -725,18 +725,18 @@ static HRESULT WINAPI IKsControlImpl_KsProperty(IKsControl *iface, KSPROPERTY *p
ULONG prop_len, void *data, ULONG data_len, ULONG *ret_len)
{
TRACE("(%p, %p, %lu, %p, %lu, %p)\n", iface, prop, prop_len, data, data_len, ret_len);
TRACE("prop = %s - %lu - %lu\n", debugstr_guid(&prop->u.s.Set), prop->u.s.Id, prop->u.s.Flags);
TRACE("prop = %s - %lu - %lu\n", debugstr_guid(&prop->Set), prop->Id, prop->Flags);
if (prop->u.s.Flags != KSPROPERTY_TYPE_GET)
if (prop->Flags != KSPROPERTY_TYPE_GET)
{
FIXME("prop flags %lu not yet supported\n", prop->u.s.Flags);
FIXME("prop flags %lu not yet supported\n", prop->Flags);
return S_FALSE;
}
if (data_len < sizeof(DWORD))
return E_NOT_SUFFICIENT_BUFFER;
FIXME("Unknown property %s\n", debugstr_guid(&prop->u.s.Set));
FIXME("Unknown property %s\n", debugstr_guid(&prop->Set));
*(DWORD*)data = FALSE;
*ret_len = sizeof(DWORD);