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
c9d78fc5
Commit
c9d78fc5
authored
Feb 18, 2007
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Feb 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Constify some parameters in some functions.
parent
3e63a9f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
info.c
dlls/winspool.drv/info.c
+5
-5
No files found.
dlls/winspool.drv/info.c
View file @
c9d78fc5
...
...
@@ -410,7 +410,7 @@ static int multi_sz_lenA(const char *str)
}
static
void
WINSPOOL_SetDefaultPrinter
(
const
char
*
devname
,
const
char
*
name
,
BOOL
force
)
{
WINSPOOL_SetDefaultPrinter
(
const
char
*
devname
,
const
char
*
name
,
BOOL
force
)
{
char
qbuf
[
200
];
/* If forcing, or no profile string entry for device yet, set the entry
...
...
@@ -435,7 +435,7 @@ WINSPOOL_SetDefaultPrinter(const char *devname, const char *name,BOOL force) {
}
}
static
BOOL
add_printer_driver
(
char
*
name
)
static
BOOL
add_printer_driver
(
c
onst
c
har
*
name
)
{
DRIVER_INFO_3A
di3a
;
...
...
@@ -2775,7 +2775,7 @@ BOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR server, LPWSTR env,
* the opened hkey on success
* NULL on error
*/
static
HKEY
WINSPOOL_OpenDriverReg
(
LPVOID
pEnvironment
,
BOOL
unicode
)
static
HKEY
WINSPOOL_OpenDriverReg
(
LP
C
VOID
pEnvironment
,
BOOL
unicode
)
{
HKEY
retval
=
NULL
;
LPWSTR
buffer
;
...
...
@@ -4416,7 +4416,7 @@ static BOOL WINSPOOL_GetDriverInfoFromReg(
/*****************************************************************************
* WINSPOOL_GetPrinterDriver
*/
static
BOOL
WINSPOOL_GetPrinterDriver
(
HANDLE
hPrinter
,
LPWSTR
pEnvironment
,
static
BOOL
WINSPOOL_GetPrinterDriver
(
HANDLE
hPrinter
,
LP
C
WSTR
pEnvironment
,
DWORD
Level
,
LPBYTE
pDriverInfo
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
BOOL
unicode
)
...
...
@@ -4903,7 +4903,7 @@ BOOL WINAPI EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs,
* BUGS
* - only implemented for localhost, foreign hosts will return an error
*/
static
BOOL
WINSPOOL_EnumPrinterDrivers
(
LPWSTR
pName
,
LPWSTR
pEnvironment
,
static
BOOL
WINSPOOL_EnumPrinterDrivers
(
LPWSTR
pName
,
LP
C
WSTR
pEnvironment
,
DWORD
Level
,
LPBYTE
pDriverInfo
,
DWORD
cbBuf
,
LPDWORD
pcbNeeded
,
LPDWORD
pcReturned
,
BOOL
unicode
)
...
...
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