UnRegisterTypeLibForUser function (oleauto.h)
Removes type library information that was registered by using RegisterTypeLibForUser.
Syntax
HRESULT UnRegisterTypeLibForUser(
REFGUID libID,
WORD wMajorVerNum,
WORD wMinorVerNum,
LCID lcid,
SYSKIND syskind
);
Parameters
libID
The GUID of the library.
wMajorVerNum
The major version of the type library.
wMinorVerNum
The minor version of the type library.
lcid
The locale identifier.
syskind
The target operating system.
Return value
This function can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
One or more of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
|
The function could not write to the file. |
|
The system registration database could not be opened. |
|
The type library could not be opened. |
Remarks
Use UnRegisterTypeLibForUser to remove type library information for type libraries that were registered using the RegisterTypeLibForUser function.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | oleauto.h |
Library | OleAut32.lib |
DLL | OleAut32.dll |