mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
twinapi.appcore: Succeed some EasClientDeviceInformation stub calls.
This commit is contained in:
parent
977da40ae5
commit
76ac3850c7
2 changed files with 25 additions and 5 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue