Commit 4adfa3dc authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winspool: Add performance counters service stubs.

parent e7059c6f
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment