IRobot::RemoveModule

Unloads an add-on module

HRESULT IRobot::RemoveModule (
     REFCLSID clsid
)

Parameters
clsid
CLSID of the add-on module to unload

Return Values
ValueMeaning
S_OKModule unloaded successfully
E_FAILCannot unload module

Remarks
Calls IRbtModule::Unload on the object with the given CLSID. If Unload() fails, then this function also fails.