Stub some winspool functions.

This commit is contained in:
Mike McCormack 2003-08-12 18:54:26 +00:00 committed by Alexandre Julliard
parent 7342c33979
commit 0f669e41a1
2 changed files with 91 additions and 0 deletions

View File

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

View File

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