winspool: Add GetSpoolFileHandle() stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52623
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2022-03-21 09:48:14 +00:00 committed by Alexandre Julliard
parent 777cbf06d2
commit db6e5014de
3 changed files with 12 additions and 0 deletions

View File

@ -8076,3 +8076,12 @@ DWORD WINAPI PerfCollect(LPWSTR query, LPVOID *data, LPDWORD size, LPDWORD obj_c
*obj_count = 0; *obj_count = 0;
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
/*****************************************************************************
* GetSpoolFileHandle [WINSPOOL.@]
*/
HANDLE WINAPI GetSpoolFileHandle( HANDLE printer )
{
FIXME( "%p: stub\n", printer );
return INVALID_HANDLE_VALUE;
}

View File

@ -144,6 +144,7 @@
@ stdcall GetPrinterDriverDirectoryW(wstr wstr long ptr long ptr) @ stdcall GetPrinterDriverDirectoryW(wstr wstr long ptr long ptr)
@ stdcall GetPrinterDriverW(long wstr long ptr long ptr) @ stdcall GetPrinterDriverW(long wstr long ptr long ptr)
@ stdcall GetPrinterW(long long ptr long ptr) @ stdcall GetPrinterW(long long ptr long ptr)
@ stdcall GetSpoolFileHandle(ptr)
@ stdcall IsValidDevmodeA(ptr long) @ stdcall IsValidDevmodeA(ptr long)
@ stdcall IsValidDevmodeW(ptr long) @ stdcall IsValidDevmodeW(ptr long)
@ stdcall OpenPrinterA(str ptr ptr) @ stdcall OpenPrinterA(str ptr ptr)

View File

@ -1768,6 +1768,8 @@ BOOL WINAPI XcvDataW(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData,
BOOL WINAPI IsValidDevmodeA(PDEVMODEA pDevMode, SIZE_T size); BOOL WINAPI IsValidDevmodeA(PDEVMODEA pDevMode, SIZE_T size);
BOOL WINAPI IsValidDevmodeW(PDEVMODEW pDevMode, SIZE_T size); BOOL WINAPI IsValidDevmodeW(PDEVMODEW pDevMode, SIZE_T size);
HANDLE WINAPI GetSpoolFileHandle(HANDLE printer);
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
#endif #endif