[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: [PATCH] comcat/tests: Use wide-char string literals.
From: Michael Stefaniuc <mstefani () winehq ! org>
Date: 2020-09-30 21:14:49
Message-ID: 20200930211456.349651-3-mstefani () winehq ! org
[Download RAW message or body]
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
---
dlls/comcat/tests/comcat.c | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/dlls/comcat/tests/comcat.c b/dlls/comcat/tests/comcat.c
index ff5b51a87b4..97048cc46b8 100644
--- a/dlls/comcat/tests/comcat.c
+++ b/dlls/comcat/tests/comcat.c
@@ -66,26 +66,10 @@ static void do_enum(void)
GUID wanted_guid;
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;
- CLSIDFromString(szCatID,the_cat);
- CLSIDFromString(szGuid,&wanted_guid);
+ CLSIDFromString(L"{deadcafe-0000-0000-0000-000000000000}", the_cat);
+ CLSIDFromString(L"{deadcafe-beed-bead-dead-cafebeaddead}", &wanted_guid);
OleInitialize(NULL);
--
2.26.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic