Export (0) Print
Expand All

SdbRegisterDatabaseEx function

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Apphelp.dll

See also

SdbUnregisterDatabase

 

 

Community Additions

ADD
Show:
© 2014 Microsoft