From: Austin English Subject: apphelp: add a stub for SdbInitDatabase Message-Id: Date: Sun, 30 Mar 2014 14:36:44 -0700 For https://bugs.winehq.org/show_bug.cgi?id=35891 -- -Austin
For https://bugs.winehq.org/show_bug.cgi?id=35891

--
-Austin
diff --git a/dlls/apphelp/apphelp.c b/dlls/apphelp/apphelp.c index e8fce78..214bd58 100644 --- a/dlls/apphelp/apphelp.c +++ b/dlls/apphelp/apphelp.c @@ -33,6 +33,7 @@ typedef enum _PATH_TYPE { /* FIXME: don't know where to place that typedef */ typedef HANDLE PDB; +typedef HANDLE HSDB; BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) { @@ -81,3 +82,11 @@ BOOL WINAPI ShimFlushCache( HWND hwnd, HINSTANCE instance, LPCSTR cmdline, int c SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return TRUE; } + + +PDB WINAPI SdbInitDatabase(DWORD flags, LPCSTR path) +{ + FIXME("stub: %u %s\n", flags, debugstr_a(path)); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} diff --git a/dlls/apphelp/apphelp.spec b/dlls/apphelp/apphelp.spec index 60d931c..44aa719 100644 --- a/dlls/apphelp/apphelp.spec +++ b/dlls/apphelp/apphelp.spec @@ -83,7 +83,7 @@ @ stub SdbGrabMatchingInfoEx @ stub SdbGUIDFromString @ stub SdbGUIDToString -@ stub SdbInitDatabase +@ stdcall SdbInitDatabase(long ptr) @ stub SdbInitDatabaseEx @ stub SdbIsNullGUID @ stub SdbIsStandardDatabase