Commit 76ac3850 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

twinapi.appcore: Succeed some EasClientDeviceInformation stub calls.

parent 977da40a
......@@ -96,31 +96,31 @@ static HRESULT WINAPI client_device_information_get_Id( IEasClientDeviceInformat
static HRESULT WINAPI client_device_information_get_OperatingSystem( IEasClientDeviceInformation *iface, HSTRING *value )
{
FIXME( "iface %p, value %p stub.\n", iface, value );
return E_NOTIMPL;
return WindowsCreateString( NULL, 0, value );
}
static HRESULT WINAPI client_device_information_get_FriendlyName( IEasClientDeviceInformation *iface, HSTRING *value )
{
FIXME( "iface %p, value %p stub.\n", iface, value );
return E_NOTIMPL;
return WindowsCreateString( NULL, 0, value );
}
static HRESULT WINAPI client_device_information_get_SystemManufacturer( IEasClientDeviceInformation *iface, HSTRING *value )
{
FIXME( "iface %p, value %p stub.\n", iface, value );
return E_NOTIMPL;
return WindowsCreateString( NULL, 0, value );
}
static HRESULT WINAPI client_device_information_get_SystemProductName( IEasClientDeviceInformation *iface, HSTRING *value )
{
FIXME( "iface %p, value %p stub.\n", iface, value );
return E_NOTIMPL;
return WindowsCreateString( NULL, 0, value );
}
static HRESULT WINAPI client_device_information_get_SystemSku( IEasClientDeviceInformation *iface, HSTRING *value )
{
FIXME( "iface %p, value %p stub.\n", iface, value );
return E_NOTIMPL;
return WindowsCreateString( NULL, 0, value );
}
static IEasClientDeviceInformationVtbl client_device_information_vtbl =
......
......@@ -80,6 +80,26 @@ static void test_EasClientDeviceInformation(void)
check_interface( client_device_information, &IID_IInspectable, TRUE );
check_interface( client_device_information, &IID_IAgileObject, FALSE );
hr = IEasClientDeviceInformation_get_OperatingSystem( client_device_information, &str );
ok( hr == S_OK, "got hr %#lx\n", hr );
WindowsDeleteString( str );
hr = IEasClientDeviceInformation_get_FriendlyName( client_device_information, &str );
ok( hr == S_OK, "got hr %#lx\n", hr );
WindowsDeleteString( str );
hr = IEasClientDeviceInformation_get_SystemManufacturer( client_device_information, &str );
ok( hr == S_OK, "got hr %#lx\n", hr );
WindowsDeleteString( str );
hr = IEasClientDeviceInformation_get_SystemProductName( client_device_information, &str );
ok( hr == S_OK, "got hr %#lx\n", hr );
WindowsDeleteString( str );
hr = IEasClientDeviceInformation_get_SystemSku( client_device_information, &str );
ok( hr == S_OK, "got hr %#lx\n", hr );
WindowsDeleteString( str );
ref = IEasClientDeviceInformation_Release( client_device_information );
ok( ref == 0, "got ref %ld.\n", ref );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment