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
ee2e5672
Commit
ee2e5672
authored
Mar 15, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Mar 16, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl/tests: Check for Xcv-API only once.
parent
e3c778eb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
localmon.c
dlls/localspl/tests/localmon.c
+0
-11
No files found.
dlls/localspl/tests/localmon.c
View file @
ee2e5672
...
@@ -347,7 +347,6 @@ static void test_XcvClosePort(void)
...
@@ -347,7 +347,6 @@ static void test_XcvClosePort(void)
DWORD
res
;
DWORD
res
;
HANDLE
hXcv
;
HANDLE
hXcv
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
if
(
0
)
if
(
0
)
{
{
...
@@ -439,7 +438,6 @@ static void test_XcvDataPort_ConfigureLPTPortCommandOK(void)
...
@@ -439,7 +438,6 @@ static void test_XcvDataPort_ConfigureLPTPortCommandOK(void)
DWORD
res
;
DWORD
res
;
DWORD
needed
;
DWORD
needed
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvDataPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
...
@@ -545,8 +543,6 @@ static void test_XcvDataPort_DeletePort(void)
...
@@ -545,8 +543,6 @@ static void test_XcvDataPort_DeletePort(void)
DWORD
needed
;
DWORD
needed
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvDataPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ALL_ACCESS
,
&
hXcv
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ALL_ACCESS
,
&
hXcv
);
...
@@ -591,8 +587,6 @@ static void test_XcvDataPort_GetTransmissionRetryTimeout(void)
...
@@ -591,8 +587,6 @@ static void test_XcvDataPort_GetTransmissionRetryTimeout(void)
DWORD
len
;
DWORD
len
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvDataPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
...
@@ -717,8 +711,6 @@ static void test_XcvDataPort_MonitorUI(void)
...
@@ -717,8 +711,6 @@ static void test_XcvDataPort_MonitorUI(void)
DWORD
len
;
DWORD
len
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvDataPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
...
@@ -832,8 +824,6 @@ static void test_XcvDataPort_PortIsValid(void)
...
@@ -832,8 +824,6 @@ static void test_XcvDataPort_PortIsValid(void)
DWORD
needed
;
DWORD
needed
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvDataPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
hXcv
=
(
HANDLE
)
0xdeadbeef
;
SetLastError
(
0xdeadbeef
);
SetLastError
(
0xdeadbeef
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
res
=
pXcvOpenPort
(
emptyW
,
SERVER_ACCESS_ADMINISTER
,
&
hXcv
);
...
@@ -989,7 +979,6 @@ static void test_XcvOpenPort(void)
...
@@ -989,7 +979,6 @@ static void test_XcvOpenPort(void)
DWORD
res
;
DWORD
res
;
HANDLE
hXcv
;
HANDLE
hXcv
;
if
((
pXcvOpenPort
==
NULL
)
||
(
pXcvClosePort
==
NULL
))
return
;
if
(
0
)
if
(
0
)
{
{
...
...
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