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
9ec0c082
Commit
9ec0c082
authored
Sep 30, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comcat/tests: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a56b9733
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
comcat.c
dlls/comcat/tests/comcat.c
+2
-18
No files found.
dlls/comcat/tests/comcat.c
View file @
9ec0c082
...
@@ -66,26 +66,10 @@ static void do_enum(void)
...
@@ -66,26 +66,10 @@ static void do_enum(void)
GUID
wanted_guid
;
GUID
wanted_guid
;
ULONG
fetched
=
-
1
;
ULONG
fetched
=
-
1
;
static
const
WCHAR
szCatID
[]
=
{
'{'
,
'd'
,
'e'
,
'a'
,
'd'
,
'c'
,
'a'
,
'f'
,
'e'
,
'-'
,
'0'
,
'0'
,
'0'
,
'0'
,
'-'
,
'0'
,
'0'
,
'0'
,
'0'
,
'-'
,
'0'
,
'0'
,
'0'
,
'0'
,
'-'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'0'
,
'}'
,
0
};
static
const
WCHAR
szGuid
[]
=
{
'{'
,
'd'
,
'e'
,
'a'
,
'd'
,
'c'
,
'a'
,
'f'
,
'e'
,
'-'
,
'b'
,
'e'
,
'e'
,
'd'
,
'-'
,
'b'
,
'e'
,
'a'
,
'd'
,
'-'
,
'd'
,
'e'
,
'a'
,
'd'
,
'-'
,
'c'
,
'a'
,
'f'
,
'e'
,
'b'
,
'e'
,
'a'
,
'd'
,
'd'
,
'e'
,
'a'
,
'd'
,
'}'
,
0
};
IEnumCLSID
*
pIEnum
=
(
IEnumCLSID
*
)
0xdeadcafe
;
IEnumCLSID
*
pIEnum
=
(
IEnumCLSID
*
)
0xdeadcafe
;
CLSIDFromString
(
szCatID
,
the_cat
);
CLSIDFromString
(
L"{deadcafe-0000-0000-0000-000000000000}"
,
the_cat
);
CLSIDFromString
(
szGuid
,
&
wanted_guid
);
CLSIDFromString
(
L"{deadcafe-beed-bead-dead-cafebeaddead}"
,
&
wanted_guid
);
OleInitialize
(
NULL
);
OleInitialize
(
NULL
);
...
...
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