SdbInitDatabase function
Opens the shim database.
Syntax
HSDB WINAPI SdbInitDatabase( _In_ DWORD dwFlags, _In_ LPCTSTR pszDatabasePath );
Parameters
- dwFlags [in]
-
This parameter specifies the format of the path in the pszDatabasePath parameter. It can be one of the following values.
If dwFlags contains HID_DATA_TYPE_MASK, this parameter can also include one of the following values.
Value Meaning - SDB_DATABASE_MAIN_SHIM
- 0x80030000
Application shim database.
- SDB_DATABASE_MAIN_MSI
- 0x80020000
MSI database.
- SDB_DATABASE_MAIN_DRIVERS
- 0x80040000
Database of drivers to be blocked.
- pszDatabasePath [in]
-
The path to the database. This parameter can be NULL if the dwFlags parameter specifies a predefined database.
Return value
The function returns a handle to the opened database.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 12/7/2012