Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e04c976f
Commit
e04c976f
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: Return success from AdvertisingManager_get_AdvertisingId stub.
parent
abc0c3c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
advertising_manager.c
dlls/twinapi.appcore/advertising_manager.c
+1
-1
twinapi.c
dlls/twinapi.appcore/tests/twinapi.c
+4
-0
No files found.
dlls/twinapi.appcore/advertising_manager.c
View file @
e04c976f
...
@@ -117,7 +117,7 @@ DEFINE_IINSPECTABLE( statics, IAdvertisingManagerStatics, struct factory, IActiv
...
@@ -117,7 +117,7 @@ DEFINE_IINSPECTABLE( statics, IAdvertisingManagerStatics, struct factory, IActiv
static
HRESULT
WINAPI
statics_get_AdvertisingId
(
IAdvertisingManagerStatics
*
iface
,
HSTRING
*
out
)
static
HRESULT
WINAPI
statics_get_AdvertisingId
(
IAdvertisingManagerStatics
*
iface
,
HSTRING
*
out
)
{
{
FIXME
(
"iface %p, out %p stub!
\n
"
,
iface
,
out
);
FIXME
(
"iface %p, out %p stub!
\n
"
,
iface
,
out
);
return
E_NOTIMPL
;
return
WindowsCreateString
(
NULL
,
0
,
out
)
;
}
}
static
const
struct
IAdvertisingManagerStaticsVtbl
statics_vtbl
=
static
const
struct
IAdvertisingManagerStaticsVtbl
statics_vtbl
=
...
...
dlls/twinapi.appcore/tests/twinapi.c
View file @
e04c976f
...
@@ -220,6 +220,10 @@ static void test_AdvertisingManager(void)
...
@@ -220,6 +220,10 @@ static void test_AdvertisingManager(void)
hr
=
IActivationFactory_QueryInterface
(
factory
,
&
IID_IAdvertisingManagerStatics
,
(
void
**
)
&
advertising_manager_statics
);
hr
=
IActivationFactory_QueryInterface
(
factory
,
&
IID_IAdvertisingManagerStatics
,
(
void
**
)
&
advertising_manager_statics
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
hr
=
IAdvertisingManagerStatics_get_AdvertisingId
(
advertising_manager_statics
,
&
str
);
ok
(
hr
==
S_OK
,
"got hr %#lx.
\n
"
,
hr
);
WindowsDeleteString
(
str
);
ref
=
IAdvertisingManagerStatics_Release
(
advertising_manager_statics
);
ref
=
IAdvertisingManagerStatics_Release
(
advertising_manager_statics
);
ok
(
ref
==
2
,
"got ref %ld.
\n
"
,
ref
);
ok
(
ref
==
2
,
"got ref %ld.
\n
"
,
ref
);
ref
=
IActivationFactory_Release
(
factory
);
ref
=
IActivationFactory_Release
(
factory
);
...
...
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