UnRegisterTypeLib (Windows Embedded CE 6.0)
1/6/2010
This function removes type library information from the system registry. Use UnRegisterTypeLib to allow applications to properly uninstall themselves.
Syntax
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 Value
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
Header | oleauto.h |
Library | oleaut32.lib |
Windows Embedded CE | Windows CE 2.0 and later |