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
5197ab4e
Commit
5197ab4e
authored
Aug 24, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll/tests: Fix the spelling of IID_Endianness.
parent
32b310c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rtlstr.c
dlls/ntdll/tests/rtlstr.c
+4
-4
No files found.
dlls/ntdll/tests/rtlstr.c
View file @
5197ab4e
...
...
@@ -1830,7 +1830,7 @@ static const WCHAR szGuid[] = { '{','0','1','0','2','0','3','0','4','-',
static
const
WCHAR
szGuid2
[]
=
{
'{'
,
'0'
,
'1'
,
'0'
,
'2'
,
'0'
,
'3'
,
'0'
,
'4'
,
'-'
,
'0'
,
'5'
,
'0'
,
'6'
,
'-'
,
'0'
,
'7'
,
'0'
,
'8'
,
'-'
,
'0'
,
'9'
,
'0'
,
'A'
,
'-'
,
'0'
,
'B'
,
'0'
,
'C'
,
'0'
,
'D'
,
'0'
,
'E'
,
'0'
,
'F'
,
'0'
,
'A'
,
']'
,
'\0'
};
DEFINE_GUID
(
IID_Endianess
,
0x01020304
,
0x0506
,
0x0708
,
0x09
,
0x0A
,
0x0B
,
DEFINE_GUID
(
IID_Endian
n
ess
,
0x01020304
,
0x0506
,
0x0708
,
0x09
,
0x0A
,
0x0B
,
0x0C
,
0x0D
,
0x0E
,
0x0F
,
0x0A
);
static
void
test_RtlGUIDFromString
(
void
)
...
...
@@ -1844,7 +1844,7 @@ static void test_RtlGUIDFromString(void)
ret
=
pRtlGUIDFromString
(
&
str
,
&
guid
);
ok
(
ret
==
0
,
"expected ret=0, got 0x%0x
\n
"
,
ret
);
ok
(
IsEqualGUID
(
&
guid
,
&
IID_Endian
ess
),
"Endia
ness broken
\n
"
);
ok
(
IsEqualGUID
(
&
guid
,
&
IID_Endian
ness
),
"Endian
ness broken
\n
"
);
str
.
Length
=
str
.
MaximumLength
=
sizeof
(
szGuid2
)
-
sizeof
(
WCHAR
);
str
.
Buffer
=
(
LPWSTR
)
szGuid2
;
...
...
@@ -1861,9 +1861,9 @@ static void test_RtlStringFromGUID(void)
str
.
Length
=
str
.
MaximumLength
=
0
;
str
.
Buffer
=
NULL
;
ret
=
pRtlStringFromGUID
(
&
IID_Endianess
,
&
str
);
ret
=
pRtlStringFromGUID
(
&
IID_Endian
n
ess
,
&
str
);
ok
(
ret
==
0
,
"expected ret=0, got 0x%0x
\n
"
,
ret
);
ok
(
str
.
Buffer
&&
!
lstrcmpiW
(
str
.
Buffer
,
szGuid
),
"Endianess broken
\n
"
);
ok
(
str
.
Buffer
&&
!
lstrcmpiW
(
str
.
Buffer
,
szGuid
),
"Endian
n
ess broken
\n
"
);
pRtlFreeUnicodeString
(
&
str
);
}
...
...
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