mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:54:40 +00:00
windows.perception.stub: Implement IHolographicSpaceStatics3::get_IsConfigured().
Needed by the VR game Desperate: Vladivostok.
This commit is contained in:
parent
f2a7b2f9e1
commit
a0a782d8a1
|
@ -174,8 +174,10 @@ DEFINE_IINSPECTABLE( holographicspace_statics3, IHolographicSpaceStatics3, struc
|
||||||
|
|
||||||
static HRESULT WINAPI holographicspace_statics3_get_IsConfigured( IHolographicSpaceStatics3 *iface, boolean *value )
|
static HRESULT WINAPI holographicspace_statics3_get_IsConfigured( IHolographicSpaceStatics3 *iface, boolean *value )
|
||||||
{
|
{
|
||||||
FIXME( "iface %p, value %p stub!\n", iface, value );
|
TRACE( "iface %p, value %p\n", iface, value );
|
||||||
return E_NOTIMPL;
|
|
||||||
|
*value = FALSE;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct IHolographicSpaceStatics3Vtbl holographicspace_statics3_vtbl =
|
static const struct IHolographicSpaceStatics3Vtbl holographicspace_statics3_vtbl =
|
||||||
|
|
|
@ -155,8 +155,8 @@ static void test_HolographicSpaceStatics(void)
|
||||||
|
|
||||||
value = 2;
|
value = 2;
|
||||||
hr = IHolographicSpaceStatics3_get_IsConfigured( holographicspace_statics3, &value );
|
hr = IHolographicSpaceStatics3_get_IsConfigured( holographicspace_statics3, &value );
|
||||||
todo_wine ok( hr == S_OK, "got hr %#lx.\n", hr );
|
ok( hr == S_OK, "got hr %#lx.\n", hr );
|
||||||
todo_wine ok( value == FALSE, "got %d.\n", value );
|
ok( value == FALSE, "got %d.\n", value );
|
||||||
|
|
||||||
ref = IHolographicSpaceStatics3_Release( holographicspace_statics3 );
|
ref = IHolographicSpaceStatics3_Release( holographicspace_statics3 );
|
||||||
ok( ref == 2, "got ref %ld.\n", ref );
|
ok( ref == 2, "got ref %ld.\n", ref );
|
||||||
|
|
Loading…
Reference in a new issue