SdbGetIndex function

Retrieves the index for the specified tag and key type from the specified database.

Syntax

TAGID WINAPI SdbGetIndex(
  _In_      PDB     pdb,
  _In_      TAG     tWhich,
  _In_      TAG     tKey,
  _Out_opt_ LPDWORD lpdwFlags
);

Parameters

  • pdb [in]
    A handle to the shim database.

  • tWhich [in]
    The TAG.

  • tKey [in]
    The key type.

  • lpdwFlags [out, optional]
    This parameter can be 0 or SHIMDB_INDEX_UNIQUE_KEY (0x00000001).

Return value

The TAGID of the index or TAGID_NULL.

Remarks

The resulting index can be used for read operations.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Apphelp.dll