Exportera (0) Skriv ut
Visa allt
EN
Det här innehållet finns inte tillgängligt på ditt språk men här finns den engelska versionen,

QueryPathOfRegTypeLib Function

Retrieves the path of a registered type library.

HRESULT QueryPathOfRegTypeLib(
  REFGUID  guid,
  unsigned short  wVerMajor,
  unsigned short  wVerMinor,
  LCID  lcid,
  LPBSTR  lpbstrPathName
);

guid

GUID 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.

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.

Visa:
© 2014 Microsoft