Commit 064968fb authored by Austin English's avatar Austin English Committed by Alexandre Julliard

apphelp: Add a stub for SdbInitDatabase.

For https://bugs.winehq.org/show_bug.cgi?id=35891 Try 3: remove extra FIXME for non-null path Try 2: fix function prototype improve the fixme (print flags as hex) -- -Austin <div dir="ltr"><pre>For <a href="https://bugs.winehq.org/show_bug.cgi?id=35891" target="_blank">https://bugs.winehq.org/show_bug.cgi?id=35891</a> </pre>Try 3:<br>remove extra FIXME for non-null path<br><br>Try 2: <br>fix function prototype<br clear="all">improve the fixme (print flags as hex)<br clear="all"><br>-- <br>-Austin </div>
parent ba232c8f
......@@ -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;
}
HSDB WINAPI SdbInitDatabase(DWORD flags, LPCWSTR path)
{
FIXME("stub: %08x %s\n", flags, debugstr_w(path));
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL;
}
......@@ -83,7 +83,7 @@
@ stub SdbGrabMatchingInfoEx
@ stub SdbGUIDFromString
@ stub SdbGUIDToString
@ stub SdbInitDatabase
@ stdcall SdbInitDatabase(long wstr)
@ stub SdbInitDatabaseEx
@ stub SdbIsNullGUID
@ stub SdbIsStandardDatabase
......
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