Commit 7ce85a8d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winspool.drv: Forward DeletePrinterDriverExA -> DeletePrinterDriverExW.

parent d4fb1c38
......@@ -5767,9 +5767,20 @@ BOOL WINAPI DeletePrinterDriverExW( LPWSTR pName, LPWSTR pEnvironment,
BOOL WINAPI DeletePrinterDriverExA( LPSTR pName, LPSTR pEnvironment,
LPSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
{
FIXME("%s %s %s %x %x\n", debugstr_a(pName), debugstr_a(pEnvironment),
debugstr_a(pDriverName), dwDeleteFlag, dwVersionFlag);
return TRUE;
UNICODE_STRING NameW, EnvW, DriverW;
BOOL ret;
asciitounicode(&NameW, pName);
asciitounicode(&EnvW, pEnvironment);
asciitounicode(&DriverW, pDriverName);
ret = DeletePrinterDriverExW(NameW.Buffer, EnvW.Buffer, DriverW.Buffer, dwDeleteFlag, dwVersionFlag);
RtlFreeUnicodeString(&DriverW);
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