Поделиться через


UnRegisterTypeLib (Windows CE 5.0)

Send Feedback

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 );

Parameters

  • 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).

Return Values

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.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Oleauto.h.
Link Library: Oleaut32.lib.

See Also

Automation Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.