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

# RegisterTypeLibForUser(3w)

## NAME

**RegisterTypeLibForUser** (OLEAUT32.442)

## SYNOPSIS

HRESULT RegisterTypeLibForUser\
  (\
   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 user 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"**.
