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
393c3817
Commit
393c3817
authored
Mar 01, 2009
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Mar 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spoolss: Implement DeleteMonitorW.
parent
f45cb5ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
1 deletion
+35
-1
router.c
dlls/spoolss/router.c
+34
-0
spoolss.spec
dlls/spoolss/spoolss.spec
+1
-1
No files found.
dlls/spoolss/router.c
View file @
393c3817
...
...
@@ -355,6 +355,40 @@ BOOL WINAPI AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitors)
}
/******************************************************************
* DeleteMonitorW (spoolss.@)
*
* Delete a specific Printmonitor from a Printing-Environment
*
* PARAMS
* pName [I] Servername or NULL (local Computer)
* pEnvironment [I] Printing-Environment of the Monitor or NULL (Default)
* pMonitorName [I] Name of the Monitor, that should be deleted
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
*/
BOOL
WINAPI
DeleteMonitorW
(
LPWSTR
pName
,
LPWSTR
pEnvironment
,
LPWSTR
pMonitorName
)
{
backend_t
*
pb
;
DWORD
res
=
ROUTER_UNKNOWN
;
TRACE
(
"(%s, %s, %s)
\n
"
,
debugstr_w
(
pName
),
debugstr_w
(
pEnvironment
),
debugstr_w
(
pMonitorName
));
pb
=
backend_first
(
pName
);
if
(
pb
&&
pb
->
fpDeleteMonitor
)
res
=
pb
->
fpDeleteMonitor
(
pName
,
pEnvironment
,
pMonitorName
);
else
{
SetLastError
(
ERROR_PROC_NOT_FOUND
);
}
TRACE
(
"got %u with %u
\n
"
,
res
,
GetLastError
());
return
(
res
==
ROUTER_SUCCESS
);
}
/******************************************************************
* EnumMonitorsW (spoolss.@)
*
* Enumerate available Port-Monitors
...
...
dlls/spoolss/spoolss.spec
View file @
393c3817
...
...
@@ -25,7 +25,7 @@
@ stub CreatePrinterIC
@ stub DbgGetPointers
@ stub DeleteFormW
@ st
ub DeleteMonitorW
@ st
dcall DeleteMonitorW(wstr wstr wstr)
@ stub DeletePerMachineConnectionW
@ stub DeletePortW
@ stub DeletePrintProcessorW
...
...
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