HRESULT QueryPathOfRegTypeLib(
REFGUID guid,
unsigned short wVerMajor,
unsigned short wVerMinor,
LCID lcid,
LPBSTR lpbstrPathName
);
Retrieves the path of a registered type library.
The return value obtained from the returned HRESULT is one of the following:
Return value | Meaning |
---|---|
S_OK | Success. |
Returns the fully qualified file name that is specified for the type library in the registry. The caller allocates the BSTR that is passed in, and must free it after use.
Windows NT: Use version 3.1 and later.
Windows: Use Windows 95 and later.
Header: Declared in oleauto.h.
Import Library: Link with oleaut32.lib.