QueryPathOfRegTypeLib

guid, wVerMajor, wVerMinor, lcid, lpBstrPathName)
REFGUID guid
unsigned short wVerMajor
unsigned short wVerMinor
LCID lcid
LPBSTR lpBstrPathName

Retrieves the path of a registered type library.

Parameters

guid

ID of the library whose path is to be queried.

wVerMajor

Major version number of the library whose path is to be queried.

wVerMinor

Minor version number of the library whose path is to be queried.

lcid

National language code for the library whose path is to be queried.

lpBstrPathName

Caller-allocated BSTR in which the type library name is returned.

Return Value

The SCODE obtained from the returned HRESULT is one of the following:

SCODE
Meaning
S_OK
Success

Comments

Returns the fully qualified filename specified for the type library in the registry. The caller allocates the BSTR that is passed in, and must free it after use.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database