SdbTagRefToTagID function

Retrieves the TAGID and a handle to the shim database for the specified TAGREF.

Syntax

BOOL WINAPI SdbTagRefToTagID(
  _In_  HSDB   hSDB,
  _In_  TAGREF trWhich,
  _Out_ PDB    *ppdb,
  _Out_ TAGID  *ptiWhich
);

Parameters

hSDB [in]

A handle to the shim database returned by the SdbInitDatabase function.

trWhich [in]

The TAGREF.

ppdb [out]

The resulting handle to the shim database.

ptiWhich [out]

The resulting TAGID.

Return value

The function returns TRUE on success or FALSE on failure.

Requirements

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

See also

SdbInitDatabase

TAGID

TAGREF