Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0f669e41
Commit
0f669e41
authored
Aug 12, 2003
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub some winspool functions.
parent
7342c339
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
0 deletions
+91
-0
info.c
dlls/winspool/info.c
+84
-0
winspool.drv.spec
dlls/winspool/winspool.drv.spec
+7
-0
No files found.
dlls/winspool/info.c
View file @
0f669e41
...
...
@@ -3607,3 +3607,87 @@ BOOL WINAPI AddPortA(LPSTR pName ,HWND hWnd, LPSTR pMonitorName)
FIXME
(
"(%s, %p, %s
\n
), stub!
\n
"
,
pName
,
hWnd
,
pMonitorName
);
return
FALSE
;
}
/******************************************************************************
* AddPrinterDriverExW (WINSPOOL.@)
*/
BOOL
WINAPI
AddPrinterDriverExW
(
LPWSTR
pName
,
DWORD
Level
,
LPBYTE
pDriverInfo
,
DWORD
dwFileCopyFlags
)
{
FIXME
(
"%s %ld %p %ld
\n
"
,
debugstr_w
(
pName
),
Level
,
pDriverInfo
,
dwFileCopyFlags
);
SetLastError
(
ERROR_PRINTER_DRIVER_BLOCKED
);
return
FALSE
;
}
/******************************************************************************
* AddPrinterDriverExA (WINSPOOL.@)
*/
BOOL
WINAPI
AddPrinterDriverExA
(
LPSTR
pName
,
DWORD
Level
,
LPBYTE
pDriverInfo
,
DWORD
dwFileCopyFlags
)
{
FIXME
(
"%s %ld %p %ld
\n
"
,
debugstr_a
(
pName
),
Level
,
pDriverInfo
,
dwFileCopyFlags
);
SetLastError
(
ERROR_PRINTER_DRIVER_BLOCKED
);
return
FALSE
;
}
/******************************************************************************
* DeletePrinterDriverExW (WINSPOOL.@)
*/
BOOL
WINAPI
DeletePrinterDriverExW
(
LPWSTR
pName
,
LPWSTR
pEnvironment
,
LPWSTR
pDriverName
,
DWORD
dwDeleteFlag
,
DWORD
dwVersionFlag
)
{
FIXME
(
"%s %s %s %lx %lx
\n
"
,
debugstr_w
(
pName
),
debugstr_w
(
pEnvironment
),
debugstr_w
(
pDriverName
),
dwDeleteFlag
,
dwVersionFlag
);
return
TRUE
;
}
/******************************************************************************
* DeletePrinterDriverExA (WINSPOOL.@)
*/
BOOL
WINAPI
DeletePrinterDriverExA
(
LPSTR
pName
,
LPSTR
pEnvironment
,
LPSTR
pDriverName
,
DWORD
dwDeleteFlag
,
DWORD
dwVersionFlag
)
{
FIXME
(
"%s %s %s %lx %lx
\n
"
,
debugstr_a
(
pName
),
debugstr_a
(
pEnvironment
),
debugstr_a
(
pDriverName
),
dwDeleteFlag
,
dwVersionFlag
);
return
TRUE
;
}
/******************************************************************************
* DeletePrinterDataExW (WINSPOOL.@)
*/
DWORD
WINAPI
DeletePrinterDataExW
(
HANDLE
hPrinter
,
LPCWSTR
pKeyName
,
LPCWSTR
pValueName
)
{
FIXME
(
"%p %s %s
\n
"
,
hPrinter
,
debugstr_w
(
pKeyName
),
debugstr_w
(
pValueName
));
return
ERROR_INVALID_PARAMETER
;
}
/******************************************************************************
* DeletePrinterDataExA (WINSPOOL.@)
*/
DWORD
WINAPI
DeletePrinterDataExA
(
HANDLE
hPrinter
,
LPCSTR
pKeyName
,
LPCSTR
pValueName
)
{
FIXME
(
"%p %s %s
\n
"
,
hPrinter
,
debugstr_a
(
pKeyName
),
debugstr_a
(
pValueName
));
return
ERROR_INVALID_PARAMETER
;
}
/******************************************************************************
* XcvDataW (WINSPOOL.@)
*
* Notes:
* There doesn't seem to be an A version...
*/
BOOL
WINAPI
XcvDataW
(
HANDLE
hXcv
,
LPCWSTR
pszDataName
,
PBYTE
pInputData
,
DWORD
cbInputData
,
PBYTE
pOutputData
,
DWORD
cbOutputData
,
PDWORD
pcbOutputNeeded
,
PDWORD
pdwStatus
)
{
FIXME
(
"%p %s %p %ld %p %ld %p %p
\n
"
,
hXcv
,
debugstr_w
(
pszDataName
),
pInputData
,
cbInputData
,
pOutputData
,
cbOutputData
,
pcbOutputNeeded
,
pdwStatus
);
return
FALSE
;
}
dlls/winspool/winspool.drv.spec
View file @
0f669e41
...
...
@@ -20,6 +20,8 @@
@ stub AddPrinterConnectionW
@ stdcall AddPrinterDriverA(str long ptr)
@ stdcall AddPrinterDriverW(wstr long ptr)
@ stdcall AddPrinterDriverExA(str long ptr long)
@ stdcall AddPrinterDriverExW(wstr long ptr long)
@ stdcall AddPrinterW(wstr long ptr)
@ stub AdvancedDocumentPropertiesA
@ stub AdvancedDocumentPropertiesW
...
...
@@ -44,8 +46,12 @@
@ stdcall DeletePrinter(long)
@ stub DeletePrinterConnectionA
@ stub DeletePrinterConnectionW
@ stdcall DeletePrinterDataExA(long str str)
@ stdcall DeletePrinterDataExW(long wstr wstr)
@ stdcall DeletePrinterDriverA(str str str)
@ stub DeletePrinterDriverW
@ stdcall DeletePrinterDriverExA(str str str long long)
@ stdcall DeletePrinterDriverExW(wstr wstr wstr long long)
@ stub DeletePrinterIC
@ stub DevQueryPrint
@ stdcall DeviceCapabilities(str str long ptr ptr) DeviceCapabilitiesA
...
...
@@ -132,3 +138,4 @@
@ stdcall StartPagePrinter(long)
@ stub WaitForPrinterChange
@ stdcall WritePrinter(long ptr long ptr)
@ stdcall XcvDataW(long wstr ptr long ptr long ptr ptr)
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