mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[APPHELP] Add noisy stub for SdbGetDatabaseInformationByName
This commit is contained in:
@@ -291,7 +291,6 @@ BOOL WINAPI SdbRegisterDatabaseEx(
|
||||
if (!SdbGUIDToString(&Information.Id, GuidBuffer, RTL_NUMBER_OF(GuidBuffer)))
|
||||
{
|
||||
SHIM_ERR("Unable to Convert GUID to string\n");
|
||||
SdbFreeDatabaseInformation(&Information);
|
||||
SdbCloseDatabase(pdb);
|
||||
return FALSE;
|
||||
}
|
||||
@@ -374,7 +373,6 @@ BOOL WINAPI SdbRegisterDatabaseEx(
|
||||
SHIM_ERR("Unable to create key %wZ\n", &KeyName);
|
||||
}
|
||||
|
||||
SdbFreeDatabaseInformation(&Information);
|
||||
SdbCloseDatabase(pdb);
|
||||
|
||||
return NT_SUCCESS(Status);
|
||||
|
@@ -109,7 +109,7 @@ LPWSTR WINAPI SdbGetStringTagPtr(PDB pdb, TAGID tagid);
|
||||
TAGID WINAPI SdbFindFirstNamedTag(PDB pdb, TAGID root, TAGID find, TAGID nametag, LPCWSTR find_name);
|
||||
DWORD WINAPI SdbQueryDataExTagID(PDB pdb, TAGID tiExe, LPCWSTR lpszDataName, LPDWORD lpdwDataType, LPVOID lpBuffer, LPDWORD lpcbBufferSize, TAGID *ptiData);
|
||||
BOOL WINAPI SdbGetDatabaseInformation(PDB pdb, PDB_INFORMATION information);
|
||||
VOID WINAPI SdbFreeDatabaseInformation(PDB_INFORMATION information);
|
||||
VOID WINAPI SdbFreeDatabaseInformation(_In_opt_ PDB_INFORMATION information);
|
||||
BOOL WINAPI SdbRegisterDatabaseEx(_In_ LPCWSTR pszDatabasePath, _In_ DWORD dwDatabaseType, _In_opt_ const PULONGLONG pTimeStamp);
|
||||
BOOL WINAPI SdbUnregisterDatabase(_In_ const GUID *pguidDB);
|
||||
|
||||
|
@@ -56,7 +56,7 @@
|
||||
@ stdcall SdbGetBinaryTagData(ptr long)
|
||||
@ stdcall SdbGetDatabaseID(ptr ptr)
|
||||
@ stdcall SdbGetDatabaseInformation(ptr ptr)
|
||||
@ stub SdbGetDatabaseInformationByName
|
||||
@ stdcall SdbGetDatabaseInformationByName(wstr ptr)
|
||||
@ stub SdbGetDatabaseMatch
|
||||
@ stdcall SdbGetDatabaseVersion(wstr ptr ptr)
|
||||
@ stub SdbGetDllPath
|
||||
|
@@ -521,16 +521,33 @@ BOOL WINAPI SdbGetDatabaseInformation(PDB pdb, PDB_INFORMATION information)
|
||||
}
|
||||
|
||||
/**
|
||||
* @name SdbFreeDatabaseInformation
|
||||
* Free up resources allocated in SdbGetDatabaseInformation
|
||||
* @unimplemented
|
||||
* @name SdbGetDatabaseInformationByName
|
||||
* Get information about the database
|
||||
*
|
||||
* @param information The information retrieved from SdbGetDatabaseInformation
|
||||
* @param lpwszFileName The database file
|
||||
* @param ppAttrInfo The returned information, allocated by this function
|
||||
* @return TRUE on success
|
||||
*/
|
||||
VOID WINAPI SdbFreeDatabaseInformation(PDB_INFORMATION information)
|
||||
BOOL WINAPI
|
||||
SdbGetDatabaseInformationByName(_In_ LPCTSTR lpwszFileName, _Outptr_ PDB_INFORMATION *ppAttrInfo)
|
||||
{
|
||||
// No-op
|
||||
SHIM_ERR("Unimplemented\n");
|
||||
*ppAttrInfo = NULL;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @unimplemented
|
||||
* @name SdbFreeDatabaseInformation
|
||||
* Free up resources allocated in SdbGetDatabaseInformationByName
|
||||
*
|
||||
* @param information The information retrieved from SdbGetDatabaseInformationByName
|
||||
*/
|
||||
VOID WINAPI SdbFreeDatabaseInformation(_In_opt_ PDB_INFORMATION information)
|
||||
{
|
||||
SHIM_ERR("Unimplemented\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* Find the first named child tag.
|
||||
|
@@ -1631,7 +1631,7 @@ LdrFlushAlternateResourceModules(VOID)
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* See https://www.kernelmode.info/forum/viewtopic.php?t=991
|
||||
* See https://web.archive.org/web/20231210142610/https://kernelmode.info/forum/viewtopic3973.html?t=991
|
||||
*/
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
Reference in New Issue
Block a user