diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c index 52edd362622..a89abd0ced9 100644 --- a/dlls/winspool.drv/info.c +++ b/dlls/winspool.drv/info.c @@ -8076,3 +8076,12 @@ DWORD WINAPI PerfCollect(LPWSTR query, LPVOID *data, LPDWORD size, LPDWORD obj_c *obj_count = 0; return ERROR_SUCCESS; } + +/***************************************************************************** + * GetSpoolFileHandle [WINSPOOL.@] + */ +HANDLE WINAPI GetSpoolFileHandle( HANDLE printer ) +{ + FIXME( "%p: stub\n", printer ); + return INVALID_HANDLE_VALUE; +} diff --git a/dlls/winspool.drv/winspool.drv.spec b/dlls/winspool.drv/winspool.drv.spec index 5d8a62d4695..d7bb49bd34b 100644 --- a/dlls/winspool.drv/winspool.drv.spec +++ b/dlls/winspool.drv/winspool.drv.spec @@ -144,6 +144,7 @@ @ stdcall GetPrinterDriverDirectoryW(wstr wstr long ptr long ptr) @ stdcall GetPrinterDriverW(long wstr long ptr long ptr) @ stdcall GetPrinterW(long long ptr long ptr) +@ stdcall GetSpoolFileHandle(ptr) @ stdcall IsValidDevmodeA(ptr long) @ stdcall IsValidDevmodeW(ptr long) @ stdcall OpenPrinterA(str ptr ptr) diff --git a/include/winspool.h b/include/winspool.h index 68619741f38..db8773ec418 100644 --- a/include/winspool.h +++ b/include/winspool.h @@ -1768,6 +1768,8 @@ BOOL WINAPI XcvDataW(HANDLE hXcv, LPCWSTR pszDataName, PBYTE pInputData, BOOL WINAPI IsValidDevmodeA(PDEVMODEA pDevMode, SIZE_T size); BOOL WINAPI IsValidDevmodeW(PDEVMODEW pDevMode, SIZE_T size); +HANDLE WINAPI GetSpoolFileHandle(HANDLE printer); + #ifdef __cplusplus } /* extern "C" */ #endif