Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnRegisterTypeLib

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function removes type library information from the system registry. Use UnRegisterTypeLib to allow applications to properly uninstall themselves.


HRESULT UnRegisterTypeLib( 
  REFGUID libID,
  unsigned short wVerMajor,
  unsigned short wVerMinor,
  LCID lcid,
  SYSKIND syskind 
);

libID

[in] Globally unique identifier.

wVerMajor

[in] Major version number of the type library being removed.

wVerMinor

[in] Minor version number of the type library being removed.

lcid

[in] Locale identifier.

syskind

[in] The target operating system (SYSKIND).

Returns the HRESULT values shown in the following table.

Value Description

S_OK

Success.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

One or more arguments is invalid.

TYPE_E_IOERROR

The function could not write to the file.

TYPE_E_REGISTRYACCESS

The system registration database could not be opened.

TYPE_E_INVALIDSTATE

The type library could not be opened.

Headeroleauto.h
Libraryoleaut32.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2014 Microsoft