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
ec082c31
Commit
ec082c31
authored
Feb 27, 2014
by
Hans Leidekker
Committed by
Alexandre Julliard
Feb 27, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Add stub implementations of UploadPrinterDriverPackageA/W.
parent
a547027b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
info.c
dlls/winspool.drv/info.c
+22
-0
winspool.drv.spec
dlls/winspool.drv/winspool.drv.spec
+2
-0
winspool.h
include/winspool.h
+8
-0
No files found.
dlls/winspool.drv/info.c
View file @
ec082c31
...
...
@@ -8569,3 +8569,25 @@ LPWSTR WINAPI StartDocDlgW( HANDLE hPrinter, DOCINFOW *doc )
}
return
ret
;
}
/*****************************************************************************
* UploadPrinterDriverPackageA [WINSPOOL.@]
*/
HRESULT
WINAPI
UploadPrinterDriverPackageA
(
LPCSTR
server
,
LPCSTR
path
,
LPCSTR
env
,
DWORD
flags
,
HWND
hwnd
,
LPSTR
dst
,
PULONG
dstlen
)
{
FIXME
(
"%s, %s, %s, %x, %p, %p, %p
\n
"
,
debugstr_a
(
server
),
debugstr_a
(
path
),
debugstr_a
(
env
),
flags
,
hwnd
,
dst
,
dstlen
);
return
E_NOTIMPL
;
}
/*****************************************************************************
* UploadPrinterDriverPackageW [WINSPOOL.@]
*/
HRESULT
WINAPI
UploadPrinterDriverPackageW
(
LPCWSTR
server
,
LPCWSTR
path
,
LPCWSTR
env
,
DWORD
flags
,
HWND
hwnd
,
LPWSTR
dst
,
PULONG
dstlen
)
{
FIXME
(
"%s, %s, %s, %x, %p, %p, %p
\n
"
,
debugstr_w
(
server
),
debugstr_w
(
path
),
debugstr_w
(
env
),
flags
,
hwnd
,
dst
,
dstlen
);
return
E_NOTIMPL
;
}
dlls/winspool.drv/winspool.drv.spec
View file @
ec082c31
...
...
@@ -176,6 +176,8 @@
@ stdcall StartDocPrinterA(long long ptr)
@ stdcall StartDocPrinterW(long long ptr)
@ stdcall StartPagePrinter(long)
@ stdcall UploadPrinterDriverPackageA(str str str long long ptr ptr)
@ stdcall UploadPrinterDriverPackageW(wstr wstr wstr long long ptr ptr)
@ stub WaitForPrinterChange
@ stdcall WritePrinter(long ptr long ptr)
@ stdcall XcvDataW(long wstr ptr long ptr long ptr ptr)
include/winspool.h
View file @
ec082c31
...
...
@@ -297,6 +297,10 @@ extern "C" {
#define DSPRINT_REPUBLISH 0x00000008
#define DSPRINT_PENDING 0x80000000
#define UPDP_SILENT_UPLOAD 0x00000001
#define UPDP_UPLOAD_ALWAYS 0x00000002
#define UPDP_CHECK_DRIVERSTORE 0x00000004
/* ##################################### */
/* TYPES */
...
...
@@ -1801,6 +1805,10 @@ LPSTR WINAPI StartDocDlgA(HANDLE hPrinter, DOCINFOA *doc);
LPWSTR
WINAPI
StartDocDlgW
(
HANDLE
hPrinter
,
DOCINFOW
*
doc
);
#define StartDocDlg WINELIB_NAME_AW(StartDocDlg)
HRESULT
WINAPI
UploadPrinterDriverPackageA
(
LPCSTR
,
LPCSTR
,
LPCSTR
,
DWORD
,
HWND
,
LPSTR
,
PULONG
);
HRESULT
WINAPI
UploadPrinterDriverPackageW
(
LPCWSTR
,
LPCWSTR
,
LPCWSTR
,
DWORD
,
HWND
,
LPWSTR
,
PULONG
);
#define UploadPrinterDriverPackage WINELIB_NAME_AW(UploadPrinterDriverPackage)
BOOL
WINAPI
XcvDataW
(
HANDLE
hXcv
,
LPCWSTR
pszDataName
,
PBYTE
pInputData
,
DWORD
cbInputData
,
PBYTE
pOutputData
,
DWORD
cbOutputData
,
PDWORD
pcbOutputNeeded
,
PDWORD
pdwStatus
);
...
...
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