From 849bbd90ac3aeec8c4136fc2521d8f2f85bff545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sun, 2 Jun 2013 14:37:51 +0200 Subject: [PATCH] difxapi: Add stubs for DriverPackageGetPath{A,W}. --- dlls/difxapi/difxapi.spec | 4 ++-- dlls/difxapi/main.c | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/dlls/difxapi/difxapi.spec b/dlls/difxapi/difxapi.spec index 8ce068d2f51..ad03719090a 100644 --- a/dlls/difxapi/difxapi.spec +++ b/dlls/difxapi/difxapi.spec @@ -1,7 +1,7 @@ @ stub DIFXAPISetLogCallbackA @ stub DIFXAPISetLogCallbackW -@ stub DriverPackageGetPathA -@ stub DriverPackageGetPathW +@ stdcall DriverPackageGetPathA(str ptr ptr) +@ stdcall DriverPackageGetPathW(wstr ptr ptr) @ stdcall DriverPackageInstallA(str long ptr ptr) @ stdcall DriverPackageInstallW(wstr long ptr ptr) @ stdcall DriverPackagePreinstallA(str long) diff --git a/dlls/difxapi/main.c b/dlls/difxapi/main.c index 8f3f339b6b4..820a4b30ba6 100644 --- a/dlls/difxapi/main.c +++ b/dlls/difxapi/main.c @@ -64,3 +64,15 @@ DWORD WINAPI DriverPackageUninstallW(LPCWSTR inf, DWORD flags, PCINSTALLERINFO_W if (reboot) *reboot = FALSE; return ERROR_SUCCESS; } + +DWORD WINAPI DriverPackageGetPathA(LPCSTR inf, CHAR *dest, DWORD *count) +{ + FIXME("(%s, %p, %p) stub\n", wine_dbgstr_a(inf), dest, count); + return ERROR_UNSUPPORTED_TYPE; +} + +DWORD WINAPI DriverPackageGetPathW(LPCWSTR inf, WCHAR *dest, DWORD *count) +{ + FIXME("(%s, %p, %p) stub\n", wine_dbgstr_w(inf), dest, count); + return ERROR_UNSUPPORTED_TYPE; +}