SdbCreateDatabase function

Creates a new shim database.

Syntax

PDB WINAPI SdbCreateDatabase(
  _In_ LPCWSTR   pwszPath,
  _In_ PATH_TYPE eType
);

Parameters

pwszPath [in]

The path where the database should be saved. This parameter cannot be NULL.

eType [in]

The path type. See PATH_TYPE for a list of values.

Return value

The function returns a handle to the shim database or NULL on failure.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Apphelp.dll

See also

SdbOpenDatabase