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

# UnRegisterTypeLib(3w)

## NAME

**UnRegisterTypeLib** (OLEAUT32.186)

## SYNOPSIS

HRESULT UnRegisterTypeLib\
  (\
   REFGUID *libid*,\
   WORD    *wVerMajor*,\
   WORD    *wVerMinor*,\
   LCID    *lcid*,\
   SYSKIND *syskind*\
  )

## PARAMS

*libid* **\[In\]**  Guid of the library.

*wVerMajor* **\[In\]**  major version.

*wVerMinor* **\[In\]**  minor version.

*lcid* **\[In\]**  locale id.

## DESCRIPTION

Removes information about a type library from the System Registry.

## NOTES

## RETURNS

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

**Failure:** Status

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
