winspool.drv: Forward DeletePrinterDriverExA -> DeletePrinterDriverExW.

This commit is contained in:
Huw Davies 2006-11-07 12:06:04 +00:00 committed by Alexandre Julliard
parent d4fb1c3869
commit 7ce85a8d60
1 changed files with 14 additions and 3 deletions

View File

@ -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;
} }
/****************************************************************************** /******************************************************************************