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
d770f843
Commit
d770f843
authored
Apr 06, 2007
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl/tests: Remove duplicate tests.
parent
62e92795
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
33 deletions
+0
-33
localmon.c
dlls/localspl/tests/localmon.c
+0
-33
No files found.
dlls/localspl/tests/localmon.c
View file @
d770f843
...
...
@@ -58,13 +58,6 @@ static BOOL (WINAPI *pXcvOpenPort)(LPCWSTR, ACCESS_MASK, PHANDLE phXcv);
static
DWORD
(
WINAPI
*
pXcvDataPort
)(
HANDLE
,
LPCWSTR
,
PBYTE
,
DWORD
,
PBYTE
,
DWORD
,
PDWORD
);
static
BOOL
(
WINAPI
*
pXcvClosePort
)(
HANDLE
);
static
HMODULE
hlocalui
;
static
PMONITORUI
(
WINAPI
*
pInitializePrintMonitorUI
)(
VOID
);
static
PMONITORUI
pui
;
static
BOOL
(
WINAPI
*
pAddPortUI
)(
PCWSTR
,
HWND
,
PCWSTR
,
PWSTR
*
);
static
BOOL
(
WINAPI
*
pConfigurePortUI
)(
PCWSTR
,
HWND
,
PCWSTR
);
static
BOOL
(
WINAPI
*
pDeletePortUI
)(
PCWSTR
,
HWND
,
PCWSTR
);
static
HANDLE
hXcv
;
static
HANDLE
hXcv_noaccess
;
...
...
@@ -975,7 +968,6 @@ START_TEST(localmon)
ok
(
res
!=
0
,
"with %u
\n
"
,
GetLastError
());
pInitializePrintMonitor
=
(
void
*
)
GetProcAddress
(
hdll
,
"InitializePrintMonitor"
);
pInitializePrintMonitorUI
=
(
void
*
)
GetProcAddress
(
hdll
,
"InitializePrintMonitorUI"
);
if
(
!
pInitializePrintMonitor
)
{
/* The Monitor for "Local Ports" was in a seperate dll before w2k */
...
...
@@ -1026,31 +1018,6 @@ START_TEST(localmon)
}
}
if
((
!
pInitializePrintMonitorUI
)
&&
(
hXcv
))
{
/* The user interface for "Local Ports" is in a separate dll since w2k */
BYTE
buffer
[
MAX_PATH
];
DWORD
len
;
res
=
pXcvDataPort
(
hXcv
,
cmd_MonitorUIW
,
NULL
,
0
,
buffer
,
MAX_PATH
,
&
len
);
if
(
res
==
ERROR_SUCCESS
)
hlocalui
=
LoadLibraryW
(
(
LPWSTR
)
buffer
);
if
(
hlocalui
)
pInitializePrintMonitorUI
=
(
void
*
)
GetProcAddress
(
hlocalui
,
"InitializePrintMonitorUI"
);
}
if
(
pInitializePrintMonitorUI
)
{
pui
=
pInitializePrintMonitorUI
();
if
(
pui
)
{
numentries
=
(
pui
->
dwMonitorUISize
-
sizeof
(
DWORD
))
/
sizeof
(
VOID
*
);
ok
(
numentries
==
3
,
"dwMonitorUISize (%d) => %d Functions
\n
"
,
pui
->
dwMonitorUISize
,
numentries
);
if
(
numentries
>
2
)
{
pAddPortUI
=
pui
->
pfnAddPortUI
;
pConfigurePortUI
=
pui
->
pfnConfigurePortUI
;
pDeletePortUI
=
pui
->
pfnDeletePortUI
;
}
}
}
test_InitializePrintMonitor
();
test_AddPort
();
...
...
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