Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
76ac3850
Commit
76ac3850
authored
Nov 23, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twinapi.appcore: Succeed some EasClientDeviceInformation stub calls.
parent
977da40a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
+25
-5
client_device_information.c
dlls/twinapi.appcore/client_device_information.c
+5
-5
twinapi.c
dlls/twinapi.appcore/tests/twinapi.c
+20
-0
No files found.
dlls/twinapi.appcore/client_device_information.c
View file @
76ac3850
...
...
@@ -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
=
...
...
dlls/twinapi.appcore/tests/twinapi.c
View file @
76ac3850
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment