apphelp: Add a stub for SdbGetFirstChild.

This commit is contained in:
Austin English 2015-02-05 12:15:06 -06:00 committed by Alexandre Julliard
parent 5e8b613397
commit c997367911
2 changed files with 11 additions and 1 deletions

View File

@ -34,6 +34,10 @@ 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; typedef HANDLE HSDB;
typedef DWORD TAGID;
/* FIXME: don't know where to place that define */
#define TAGID_NULL 0x0
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{ {
@ -96,3 +100,9 @@ PDB WINAPI SdbOpenDatabase(LPCWSTR path, PATH_TYPE type)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return NULL; return NULL;
} }
TAGID WINAPI SdbGetFirstChild(PDB pdb, TAGID parent)
{
FIXME("stub: %p %d\n", pdb, parent);
return TAGID_NULL;
}

View File

@ -62,7 +62,7 @@
@ stub SdbGetFileImageType @ stub SdbGetFileImageType
@ stub SdbGetFileImageTypeEx @ stub SdbGetFileImageTypeEx
@ stub SdbGetFileInfo @ stub SdbGetFileInfo
@ stub SdbGetFirstChild @ stdcall SdbGetFirstChild(ptr long)
@ stub SdbGetIndex @ stub SdbGetIndex
@ stub SdbGetItemFromItemRef @ stub SdbGetItemFromItemRef
@ stub SdbGetLayerName @ stub SdbGetLayerName