Commit 992a0ae7 authored by Vijay Kiran Kamuju's avatar Vijay Kiran Kamuju Committed by Alexandre Julliard

winspool.drv: Implement AddPrintProcessorA via AddPrintProcessorW.

parent f1d40d48
......@@ -5403,9 +5403,25 @@ BOOL WINAPI AddPrinterDriverW(LPWSTR pName, DWORD level, LPBYTE pDriverInfo)
BOOL WINAPI AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPathName,
LPSTR pPrintProcessorName)
{
FIXME("(%s,%s,%s,%s): stub\n", debugstr_a(pName), debugstr_a(pEnvironment),
UNICODE_STRING NameW, EnvW, PathW, ProcessorW;
BOOL ret;
TRACE("(%s,%s,%s,%s)\n", debugstr_a(pName), debugstr_a(pEnvironment),
debugstr_a(pPathName), debugstr_a(pPrintProcessorName));
return FALSE;
asciitounicode(&NameW, pName);
asciitounicode(&EnvW, pEnvironment);
asciitounicode(&PathW, pPathName);
asciitounicode(&ProcessorW, pPrintProcessorName);
ret = AddPrintProcessorW(NameW.Buffer, EnvW.Buffer, PathW.Buffer, ProcessorW.Buffer);
RtlFreeUnicodeString(&ProcessorW);
RtlFreeUnicodeString(&PathW);
RtlFreeUnicodeString(&EnvW);
RtlFreeUnicodeString(&NameW);
return ret;
}
/*****************************************************************************
......
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