|
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.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|