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