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
e89cac74
Commit
e89cac74
authored
Jan 23, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Jan 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32/tests: Cast-qual warning fixes.
parent
695fa754
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
compobj.c
dlls/ole32/tests/compobj.c
+4
-4
No files found.
dlls/ole32/tests/compobj.c
View file @
e89cac74
...
...
@@ -39,9 +39,9 @@ HRESULT (WINAPI * pCoInitializeEx)(LPVOID lpReserved, DWORD dwCoInit);
static
const
CLSID
CLSID_non_existent
=
{
0x12345678
,
0x1234
,
0x1234
,
{
0x12
,
0x34
,
0x56
,
0x78
,
0x9a
,
0xbc
,
0xde
,
0xf0
}
};
static
const
CLSID
CLSID_CDeviceMoniker
=
{
0x4315d437
,
0x5b8c
,
0x11d0
,
{
0xbd
,
0x3b
,
0x00
,
0xa0
,
0xc9
,
0x11
,
0xce
,
0x86
}
};
static
const
WCHAR
devicedotone
[]
=
{
'd'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'.'
,
'1'
,
0
};
static
WCHAR
devicedotone
[]
=
{
'd'
,
'e'
,
'v'
,
'i'
,
'c'
,
'e'
,
'.'
,
'1'
,
0
};
static
const
WCHAR
wszNonExistent
[]
=
{
'N'
,
'o'
,
'n'
,
'E'
,
'x'
,
'i'
,
's'
,
't'
,
'e'
,
'n'
,
't'
,
0
};
static
const
WCHAR
wszCLSID_CDeviceMoniker
[]
=
static
WCHAR
wszCLSID_CDeviceMoniker
[]
=
{
'{'
,
'4'
,
'3'
,
'1'
,
'5'
,
'd'
,
'4'
,
'3'
,
'7'
,
'-'
,
...
...
@@ -159,7 +159,7 @@ static void test_CLSIDFromProgID(void)
ok
(
hr
==
S_OK
,
"CLSIDFromProgID failed with error 0x%08x
\n
"
,
hr
);
ok
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_CDeviceMoniker
),
"clsid wasn't equal to CLSID_CDeviceMoniker
\n
"
);
hr
=
CLSIDFromString
(
(
LPOLESTR
)
devicedotone
,
&
clsid
);
hr
=
CLSIDFromString
(
devicedotone
,
&
clsid
);
ok_ole_success
(
hr
,
"CLSIDFromString"
);
ok
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_CDeviceMoniker
),
"clsid wasn't equal to CLSID_CDeviceMoniker
\n
"
);
...
...
@@ -180,7 +180,7 @@ static void test_CLSIDFromProgID(void)
static
void
test_CLSIDFromString
(
void
)
{
CLSID
clsid
;
HRESULT
hr
=
CLSIDFromString
(
(
LPOLESTR
)
wszCLSID_CDeviceMoniker
,
&
clsid
);
HRESULT
hr
=
CLSIDFromString
(
wszCLSID_CDeviceMoniker
,
&
clsid
);
ok_ole_success
(
hr
,
"CLSIDFromString"
);
ok
(
IsEqualCLSID
(
&
clsid
,
&
CLSID_CDeviceMoniker
),
"clsid wasn't equal to CLSID_CDeviceMoniker
\n
"
);
...
...
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