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 ...@@ -8681,3 +8681,32 @@ HRESULT WINAPI UploadPrinterDriverPackageW( LPCWSTR server, LPCWSTR path, LPCWST
flags, hwnd, dst, dstlen); flags, hwnd, dst, dstlen);
return E_NOTIMPL; 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 @@ ...@@ -148,9 +148,9 @@
@ stdcall IsValidDevmodeW(ptr long) @ stdcall IsValidDevmodeW(ptr long)
@ stdcall OpenPrinterA(str ptr ptr) @ stdcall OpenPrinterA(str ptr ptr)
@ stdcall OpenPrinterW(wstr ptr ptr) @ stdcall OpenPrinterW(wstr ptr ptr)
@ stub PerfClose @ stdcall PerfClose()
@ stub PerfCollect @ stdcall PerfCollect(wstr ptr ptr ptr)
@ stub PerfOpen @ stdcall PerfOpen(wstr)
@ stub PlayGdiScriptOnPrinterIC @ stub PlayGdiScriptOnPrinterIC
@ stub PrinterMessageBoxA @ stub PrinterMessageBoxA
@ stub PrinterMessageBoxW @ stub PrinterMessageBoxW
......
...@@ -3309,6 +3309,7 @@ StartType=3 ...@@ -3309,6 +3309,7 @@ StartType=3
ErrorControl=1 ErrorControl=1
[SpoolerService] [SpoolerService]
AddReg=SpoolerServiceKeys
Description="Loads files to memory for later printing" Description="Loads files to memory for later printing"
DisplayName="Print Spooler" DisplayName="Print Spooler"
ServiceBinary="%11%\spoolsv.exe" ServiceBinary="%11%\spoolsv.exe"
...@@ -3317,6 +3318,12 @@ StartType=3 ...@@ -3317,6 +3318,12 @@ StartType=3
ErrorControl=1 ErrorControl=1
LoadOrderGroup="SpoolerGroup" 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] [TerminalServices]
Description="Remote desktop access" Description="Remote desktop access"
DisplayName="Terminal Services" 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