Reference

QueryPathOfRegTypeLib(3w)

NAME

QueryPathOfRegTypeLib (OLEAUT32.164)

SYNOPSIS

HRESULT QueryPathOfRegTypeLib
(
REFGUID guid,
WORD wMaj,
WORD wMin,
LCID lcid,
LPBSTR path
)

DESCRIPTION

Gets the path to a registered type library.

PARAMS

guid [In] referenced guid.

wMaj [In] major version.

wMin [In] minor version.

lcid [In] locale id.

path [Out] path of typelib.

RETURNS

Success: S_OK.

Failure: If the type library is not registered then TYPE_E_LIBNOTREGISTERED or TYPE_E_REGISTRYACCESS if the type library registration key couldn't be opened.

IMPLEMENTATION

Declared in "oleauto.h".

Implemented in "dlls/oleaut32/typelib.c".

Debug channel "ole".

History