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
1f766011
Commit
1f766011
authored
Oct 19, 2006
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Implement InitializePrintMonitor.
parent
c4b67816
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
localmon.c
dlls/localspl/localmon.c
+13
-6
localspl_main.c
dlls/localspl/localspl_main.c
+0
-1
No files found.
dlls/localspl/localmon.c
View file @
1f766011
...
...
@@ -34,7 +34,6 @@
#include "winspool.h"
#include "ddk/winsplp.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
@@ -53,18 +52,26 @@ WINE_DEFAULT_DEBUG_CHANNEL(localspl);
* Failure: NULL
*
* NOTES
* Native localspl.dll fails, when the Section "Ports" is missing in "win.ini".
* The fixed location "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Ports"
* is used to store the Ports (IniFileMapping from "win.ini", Section "Ports").
* Native localspl.dll fails, when no valid Port-Entry is present.
*
*/
LPMONITOREX
WINAPI
InitializePrintMonitor
(
LPWSTR
regroot
)
{
FIXME
(
"(%s) stub
\n
"
,
debugstr_w
(
regroot
));
static
MONITOREX
mymonitorex
=
{
sizeof
(
MONITOREX
)
-
sizeof
(
DWORD
)
};
TRACE
(
"(%s)
\n
"
,
debugstr_w
(
regroot
));
/* Parameter "regroot" is ignored on NT4.0 (localmon.dll) */
if
(
!
regroot
||
!
regroot
[
0
])
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
return
NULL
;
}
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
TRACE
(
"=> %p
\n
"
,
&
mymonitorex
);
/* Native windows returns always the same pointer on success */
return
&
mymonitorex
;
}
dlls/localspl/localspl_main.c
View file @
1f766011
...
...
@@ -34,7 +34,6 @@
#include "winspool.h"
#include "ddk/winsplp.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
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