winspool: Implement SpoolerInit.

This commit is contained in:
Detlef Riekenberg 2008-03-07 23:49:57 +01:00 committed by Alexandre Julliard
parent f11b5831b9
commit 94a878414f
2 changed files with 21 additions and 1 deletions

View File

@ -7116,6 +7116,26 @@ emW_cleanup:
return (res);
}
/******************************************************************************
* SpoolerInit (WINSPOOL.@)
*
* Initialize the Spooler
*
* RETURNS
* Success: TRUE
* Failure: FALSE
*
* NOTES
* The function fails on windows, when the spooler service is not running
*
*/
BOOL WINAPI SpoolerInit(void)
{
if ((backend == NULL) && !load_backend()) return FALSE;
return TRUE;
}
/******************************************************************************
* XcvDataW (WINSPOOL.@)
*

View File

@ -167,7 +167,7 @@
@ stdcall SetPrinterDataW(long wstr long ptr long)
@ stdcall SetPrinterW(long long ptr long)
@ stub SpoolerDevQueryPrintW
@ stub SpoolerInit
@ stdcall SpoolerInit()
@ stub SpoolerPrinterEvent
@ stdcall StartDocDlgA(ptr ptr)
@ stdcall StartDocDlgW(ptr ptr)