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
fdedc348
Commit
fdedc348
authored
Mar 22, 1999
by
Klaas van Gend
Committed by
Alexandre Julliard
Mar 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implementation of EnumPrintersA, info level 4 and 5.
parent
733c124d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
winspool.h
include/winspool.h
+47
-0
printdrv.c
misc/printdrv.c
+0
-0
No files found.
include/winspool.h
View file @
fdedc348
...
@@ -182,6 +182,42 @@ DECL_WINELIB_TYPE_AW(PRINTER_INFO_2)
...
@@ -182,6 +182,42 @@ DECL_WINELIB_TYPE_AW(PRINTER_INFO_2)
DECL_WINELIB_TYPE_AW
(
PPRINTER_INFO_2
)
DECL_WINELIB_TYPE_AW
(
PPRINTER_INFO_2
)
DECL_WINELIB_TYPE_AW
(
LPPRINTER_INFO_2
)
DECL_WINELIB_TYPE_AW
(
LPPRINTER_INFO_2
)
typedef
struct
_PRINTER_INFO_4A
{
LPSTR
pPrinterName
;
LPSTR
pServerName
;
DWORD
Attributes
;
}
PRINTER_INFO_4A
,
*
PPRINTER_INFO_4A
,
*
LPPRINTER_INFO_4A
;
typedef
struct
_PRINTER_INFO_4W
{
LPWSTR
pPrinterName
;
LPWSTR
pServerName
;
DWORD
Attributes
;
}
PRINTER_INFO_4W
,
*
PPRINTER_INFO_4W
,
*
LPPRINTER_INFO_4W
;
DECL_WINELIB_TYPE_AW
(
PRINTER_INFO_4
)
DECL_WINELIB_TYPE_AW
(
PPRINTER_INFO_4
)
DECL_WINELIB_TYPE_AW
(
LPPRINTER_INFO_4
)
typedef
struct
_PRINTER_INFO_5A
{
LPSTR
pPrinterName
;
LPSTR
pPortName
;
DWORD
Attributes
;
DWORD
DeviceNotSelectedTimeOut
;
DWORD
TransmissionRetryTimeout
;
}
PRINTER_INFO_5A
,
*
PPRINTER_INFO_5A
,
*
LPPRINTER_INFO_5A
;
typedef
struct
_PRINTER_INFO_5W
{
LPWSTR
pPrinterName
;
LPWSTR
pPortName
;
DWORD
Attributes
;
DWORD
DeviceNotSelectedTimeOut
;
DWORD
TransmissionRetryTimeout
;
}
PRINTER_INFO_5W
,
*
PPRINTER_INFO_5W
,
*
LPPRINTER_INFO_5W
;
DECL_WINELIB_TYPE_AW
(
PRINTER_INFO_5
)
DECL_WINELIB_TYPE_AW
(
PPRINTER_INFO_5
)
DECL_WINELIB_TYPE_AW
(
LPPRINTER_INFO_5
)
#endif
/* Status */
#endif
/* Status */
/* DECLARATIONS */
/* DECLARATIONS */
...
@@ -225,6 +261,17 @@ BOOL WINAPI OpenPrinterW(LPWSTR lpPrinterName,HANDLE *phPrinter,
...
@@ -225,6 +261,17 @@ BOOL WINAPI OpenPrinterW(LPWSTR lpPrinterName,HANDLE *phPrinter,
BOOL
WINAPI
ClosePrinter
(
HANDLE
phPrinter
);
BOOL
WINAPI
ClosePrinter
(
HANDLE
phPrinter
);
BOOL
WINAPI
EnumPrintersA
(
DWORD
dwType
,
LPSTR
lpszName
,
DWORD
dwLevel
,
LPBYTE
lpbPrinters
,
DWORD
cbBuf
,
LPDWORD
lpdwNeeded
,
LPDWORD
lpdwReturned
);
BOOL
WINAPI
EnumPrintersW
(
DWORD
dwType
,
LPWSTR
lpszName
,
DWORD
dwLevel
,
LPBYTE
lpbPrinters
,
DWORD
cbBuf
,
LPDWORD
lpdwNeeded
,
LPDWORD
lpdwReturned
);
#define EnumPrinters WINELIB_NAME_AW(EnumPrinters)
#ifdef __cplusplus
#ifdef __cplusplus
}
// extern "C"
}
// extern "C"
...
...
misc/printdrv.c
View file @
fdedc348
This diff is collapsed.
Click to expand it.
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