IRobot::AddModule
Loads an add-on module
HRESULT IRobot::AddModule (
REFCLSID clsid
)
Parameters
clsid
CLSID of the add-on module to load
Return Values
Value
Meaning
S_OK
Module loaded successfully
E_FAIL
Cannot load module
Remarks
Calls IRbtModule::Init on the object with the given CLSID. If Init() fails, then this function also fails.