winspool: Add stub implementations of UploadPrinterDriverPackageA/W.

This commit is contained in:
Hans Leidekker 2014-02-27 13:26:25 +01:00 committed by Alexandre Julliard
parent a547027b01
commit ec082c3102
3 changed files with 32 additions and 0 deletions

View File

@ -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;
}

View File

@ -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)

View File

@ -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);