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>
This commit is contained in:
parent
ba232c8f69
commit
064968fb87
|
@ -33,6 +33,7 @@ typedef enum _PATH_TYPE {
|
||||||
|
|
||||||
/* FIXME: don't know where to place that typedef */
|
/* FIXME: don't know where to place that typedef */
|
||||||
typedef HANDLE PDB;
|
typedef HANDLE PDB;
|
||||||
|
typedef HANDLE HSDB;
|
||||||
|
|
||||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
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);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
return TRUE;
|
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 SdbGrabMatchingInfoEx
|
||||||
@ stub SdbGUIDFromString
|
@ stub SdbGUIDFromString
|
||||||
@ stub SdbGUIDToString
|
@ stub SdbGUIDToString
|
||||||
@ stub SdbInitDatabase
|
@ stdcall SdbInitDatabase(long wstr)
|
||||||
@ stub SdbInitDatabaseEx
|
@ stub SdbInitDatabaseEx
|
||||||
@ stub SdbIsNullGUID
|
@ stub SdbIsNullGUID
|
||||||
@ stub SdbIsStandardDatabase
|
@ stub SdbIsStandardDatabase
|
||||||
|
|
Loading…
Reference in New Issue