mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
dmusic: Use nameless unions/structs.
This commit is contained in:
parent
2bf29480c5
commit
43ed6c6d67
|
@ -25,9 +25,6 @@
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
#define COBJMACROS
|
#define COBJMACROS
|
||||||
#define NONAMELESSUNION
|
|
||||||
#define NONAMELESSSTRUCT
|
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
#include "winnt.h"
|
#include "winnt.h"
|
||||||
|
|
|
@ -725,18 +725,18 @@ static HRESULT WINAPI IKsControlImpl_KsProperty(IKsControl *iface, KSPROPERTY *p
|
||||||
ULONG prop_len, void *data, ULONG data_len, ULONG *ret_len)
|
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("(%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;
|
return S_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data_len < sizeof(DWORD))
|
if (data_len < sizeof(DWORD))
|
||||||
return E_NOT_SUFFICIENT_BUFFER;
|
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;
|
*(DWORD*)data = FALSE;
|
||||||
*ret_len = sizeof(DWORD);
|
*ret_len = sizeof(DWORD);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue