Registers the specified database.
Syntax
BOOL WINAPI SdbRegisterDatabaseEx(
_In_ LPCTSTR pszDatabasePath,
_In_ DWORD dwDatabaseType,
_In_opt_ PULONGLONG pTimeStamp
);
Parameters
pszDatabasePath [in]
The database path. This parameter cannot be NULL.
dwDatabaseType [in]
The database type. See Shim Database Types for a list of values.
pTimeStamp [in, optional]
The time stamp for the database. If this parameter is NULL, the system time is used.
Return value
The function returns TRUE on success or FALSE on failure.
Remarks
A database must be registered before you can use any other SDB functions.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| DLL | Apphelp.dll |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
