IITDatabase::Open method (infotech.h)
Opens a database.
Syntax
HRESULT Open(
[in] LPCWSTR lpszHost,
[in] LPCWSTR lpszMoniker,
[in] DWORD dwFlags
);
Parameters
[in] lpszHost
Host name. You can pass NULL if calling the Open method locally, otherwise this string should contain the host description string, described below.
[in] lpszMoniker
Name of database file to open. This should include the full path to the file name, if calling locally. If calling using HTTP, this should contain the ISAPI extension DLL name followed by the relative path to the database file, for example:
isapiext.dll?path1\path2\db.its
[in] dwFlags
Currently not used.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
The database was successfully opened. |
|
IStorage interface errors that can occur as storage is opened. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | infotech.h |