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

# RegisterTypeLib(3w)

## NAME

**RegisterTypeLib** (OLEAUT32.163)

## SYNOPSIS

HRESULT RegisterTypeLib\
  (\
   ITypeLib\* *ptlib*,\
   OLECHAR\*  *szFullPath*,\
   OLECHAR\*  *szHelpDir*\
  )

## PARAMS

*ptlib* **\[In\]**  Pointer to the library.

*szFullPath* **\[In\]**  full Path of the library.

## DESCRIPTION

Adds information about a type library to the System Registry.

## NOTES

**Docs:** ITypeLib **FAR** \* *ptlib*

**Docs:** **OLECHAR** FAR\* *szFullPath*

**Docs:** **OLECHAR** FAR\* *szHelpDir*.

## RETURNS

**Success:** **S\_OK**

**Failure:** Status

## IMPLEMENTATION

Declared in **"oleauto.h"**.

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

Debug channel **"ole"**.
