Module: wine Branch: master Commit: 41e94622dcb3ae22d0aed90943a2625b228a4e46 URL: http://source.winehq.org/git/wine.git/?a=commit;h=41e94622dcb3ae22d0aed90943...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Jan 20 14:23:11 2009 +0100
updspapi: Add a stub implementation of UpdSpSetDynamicStringA.
---
dlls/updspapi/Makefile.in | 3 +++ dlls/updspapi/main.c | 37 +++++++++++++++++++++++++++++++++++++ dlls/updspapi/updspapi.spec | 2 +- 3 files changed, 41 insertions(+), 1 deletions(-)
diff --git a/dlls/updspapi/Makefile.in b/dlls/updspapi/Makefile.in index 8917f49..5f4182f 100644 --- a/dlls/updspapi/Makefile.in +++ b/dlls/updspapi/Makefile.in @@ -5,6 +5,9 @@ VPATH = @srcdir@ MODULE = updspapi.dll IMPORTS = setupapi kernel32
+C_SRCS = \ + main.c + @MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/updspapi/main.c b/dlls/updspapi/main.c new file mode 100644 index 0000000..73af32f --- /dev/null +++ b/dlls/updspapi/main.c @@ -0,0 +1,37 @@ +/* + * Copyright 2009 Hans Leidekker for CodeWeavers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "config.h" + +#include <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "winuser.h" +#include "winreg.h" +#include "setupapi.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(updspapi); + +DWORD WINAPI UpdSpSetDynamicStringA(HINF hinf, LPSTR str1, LPSTR str2) +{ + FIXME("%p %s %s\n", hinf, debugstr_a(str1), debugstr_a(str2)); + return 1; +} diff --git a/dlls/updspapi/updspapi.spec b/dlls/updspapi/updspapi.spec index eb47bc4..ca4ef7c 100644 --- a/dlls/updspapi/updspapi.spec +++ b/dlls/updspapi/updspapi.spec @@ -63,7 +63,7 @@ @ stdcall UpdSpScanFileQueueW(long long long ptr ptr ptr) setupapi.SetupScanFileQueueW @ stdcall UpdSpSetDirectoryIdA(long long str) setupapi.SetupSetDirectoryIdA @ stdcall UpdSpSetDirectoryIdW(long long wstr) setupapi.SetupSetDirectoryIdW -@ stub UpdSpSetDynamicStringA +@ stdcall UpdSpSetDynamicStringA(ptr str str) @ stub UpdSpSetDynamicStringExA @ stub UpdSpSetDynamicStringExW @ stub UpdSpSetDynamicStringW