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
a521947e
Commit
a521947e
authored
Dec 06, 2005
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Dec 06, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Document the monitor functions.
parent
e78997a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
info.c
dlls/winspool/info.c
+55
-0
No files found.
dlls/winspool/info.c
View file @
a521947e
...
...
@@ -1119,6 +1119,8 @@ BOOL WINAPI OpenPrinterW(LPWSTR lpPrinterName,HANDLE *phPrinter,
/******************************************************************
* AddMonitorA [WINSPOOL.@]
*
* See AddMonitorW.
*
*/
BOOL
WINAPI
AddMonitorA
(
LPSTR
pName
,
DWORD
Level
,
LPBYTE
pMonitors
)
{
...
...
@@ -1129,6 +1131,24 @@ BOOL WINAPI AddMonitorA(LPSTR pName, DWORD Level, LPBYTE pMonitors)
/******************************************************************************
* AddMonitorW [WINSPOOL.@]
*
* Install a Printmonitor
*
* PARAMS
* pName [I] Servername or NULL (local Computer)
* Level [I] Structure-Level (Must be 2)
* pMonitors [I] PTR to MONITOR_INFO_2
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
* NOTES
* All Files for the Monitor must already be copied to %winsysdir% ("%SystemRoot%\system32")
*
* BUGS
* only a Stub
*
*/
BOOL
WINAPI
AddMonitorW
(
LPWSTR
pName
,
DWORD
Level
,
LPBYTE
pMonitors
)
{
...
...
@@ -1166,6 +1186,8 @@ DeletePrinterDriverW (LPWSTR pName, LPWSTR pEnvironment, LPWSTR pDriverName)
/******************************************************************
* DeleteMonitorA [WINSPOOL.@]
*
* See DeleteMonitorW.
*
*/
BOOL
WINAPI
DeleteMonitorA
(
LPSTR
pName
,
LPSTR
pEnvironment
,
LPSTR
pMonitorName
)
...
...
@@ -1179,6 +1201,20 @@ DeleteMonitorA (LPSTR pName, LPSTR pEnvironment, LPSTR pMonitorName)
/******************************************************************
* DeleteMonitorW [WINSPOOL.@]
*
* 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
*
* BUGS
* only a Stub
*
*/
BOOL
WINAPI
DeleteMonitorW
(
LPWSTR
pName
,
LPWSTR
pEnvironment
,
LPWSTR
pMonitorName
)
...
...
@@ -4837,6 +4873,8 @@ BOOL WINAPI EnumFormsW( HANDLE hPrinter, DWORD Level, LPBYTE pForm,
/*****************************************************************************
* EnumMonitorsA [WINSPOOL.@]
*
* See EnumMonitorsW.
*
*/
BOOL
WINAPI
EnumMonitorsA
(
LPSTR
pName
,
DWORD
Level
,
LPBYTE
pMonitors
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
LPDWORD
pcReturned
)
...
...
@@ -4850,6 +4888,23 @@ BOOL WINAPI EnumMonitorsA(LPSTR pName, DWORD Level, LPBYTE pMonitors,
/*****************************************************************************
* EnumMonitorsW [WINSPOOL.@]
*
* Enumerate available Monitors
*
* PARAMS
* pName [I] Servername or NULL (local Computer)
* Level [I] Structure-Level (1:Win9x+NT or 2:NT only)
* pMonitors [O] PTR to Buffer that receives the Result
* cbBuf [I] Size of Buffer at pMonitors
* pcbNeeded [O] PTR to DWORD that receives the size in Bytes used / required for pMonitors
* pcReturned [O] PTR to DWORD that receives the number of Monitors in pMonitors
*
* RETURNS
* Success: TRUE
* Failure: FALSE and in bufneeded the Bytes required for buffer, if bufsize is too small
*
* BUGS
* only a Stub
*
*/
BOOL
WINAPI
EnumMonitorsW
(
LPWSTR
pName
,
DWORD
Level
,
LPBYTE
pMonitors
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
LPDWORD
pcReturned
)
...
...
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