---
name: "QueryPathOfRegTypeLib16"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/QueryPathOfRegTypeLib16"
---

# QueryPathOfRegTypeLib16(3w)

## NAME

**QueryPathOfRegTypeLib16** (TYPELIB.14)

## SYNOPSIS

HRESULT QueryPathOfRegTypeLib16\
  (\
   REFGUID *guid*,\
   WORD    *wMaj*,\
   WORD    *wMin*,\
   LCID    *lcid*,\
   SEGPTR\* *path*\
  )

## PARAMS

*guid* **\[In\]**  Guid to get the key name for.

*wMaj* **\[In\]**  Major version.

*wMin* **\[In\]**  Minor version.

*lcid* **\[In\]**  Locale Id.

*path* **\[Out\]**  Destination for the registry key name.

## DESCRIPTION

Get the registry key of a registered type library.

## RETURNS

**Success:** **S\_OK**. *path* is updated with the key name

**Failure:** **E\_FAIL**, if *guid* was not found in the registry.

## NOTES

The key takes the form **"ClassesTypelib\<guid\>\<major\>.\<minor\>\<lcid\>Win16**

## IMPLEMENTATION

**Not declared in a Wine header. The function is either undocumented, or missing from Wine.**

**Implemented in "dlls/typelib.dll16/typelib.c"**.

Debug channel **"ole"**.
