winspool: Add performance counters service stubs.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e7059c6f12
commit
4adfa3dc26
|
@ -8681,3 +8681,32 @@ HRESULT WINAPI UploadPrinterDriverPackageW( LPCWSTR server, LPCWSTR path, LPCWST
|
|||
flags, hwnd, dst, dstlen);
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* PerfOpen [WINSPOOL.@]
|
||||
*/
|
||||
DWORD WINAPI PerfOpen(LPWSTR context)
|
||||
{
|
||||
FIXME("%s: stub\n", debugstr_w(context));
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* PerfClose [WINSPOOL.@]
|
||||
*/
|
||||
DWORD WINAPI PerfClose(void)
|
||||
{
|
||||
FIXME("stub\n");
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* PerfCollect [WINSPOOL.@]
|
||||
*/
|
||||
DWORD WINAPI PerfCollect(LPWSTR query, LPVOID *data, LPDWORD size, LPDWORD obj_count)
|
||||
{
|
||||
FIXME("%s, %p, %p, %p: stub\n", debugstr_w(query), data, size, obj_count);
|
||||
*size = 0;
|
||||
*obj_count = 0;
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -148,9 +148,9 @@
|
|||
@ stdcall IsValidDevmodeW(ptr long)
|
||||
@ stdcall OpenPrinterA(str ptr ptr)
|
||||
@ stdcall OpenPrinterW(wstr ptr ptr)
|
||||
@ stub PerfClose
|
||||
@ stub PerfCollect
|
||||
@ stub PerfOpen
|
||||
@ stdcall PerfClose()
|
||||
@ stdcall PerfCollect(wstr ptr ptr ptr)
|
||||
@ stdcall PerfOpen(wstr)
|
||||
@ stub PlayGdiScriptOnPrinterIC
|
||||
@ stub PrinterMessageBoxA
|
||||
@ stub PrinterMessageBoxW
|
||||
|
|
|
@ -3309,6 +3309,7 @@ StartType=3
|
|||
ErrorControl=1
|
||||
|
||||
[SpoolerService]
|
||||
AddReg=SpoolerServiceKeys
|
||||
Description="Loads files to memory for later printing"
|
||||
DisplayName="Print Spooler"
|
||||
ServiceBinary="%11%\spoolsv.exe"
|
||||
|
@ -3317,6 +3318,12 @@ StartType=3
|
|||
ErrorControl=1
|
||||
LoadOrderGroup="SpoolerGroup"
|
||||
|
||||
[SpoolerServiceKeys]
|
||||
HKLM,"System\CurrentControlSet\Services\Spooler\Performance","Library",,"winspool.drv"
|
||||
HKLM,"System\CurrentControlSet\Services\Spooler\Performance","Open",,"PerfOpen"
|
||||
HKLM,"System\CurrentControlSet\Services\Spooler\Performance","Close",,"PerfClose"
|
||||
HKLM,"System\CurrentControlSet\Services\Spooler\Performance","Collect",,"PerfCollect"
|
||||
|
||||
[TerminalServices]
|
||||
Description="Remote desktop access"
|
||||
DisplayName="Terminal Services"
|
||||
|
|
Loading…
Reference in New Issue