IRbtModule::Init

Informs a module that it is being loaded and should initialize itself

HRESULT IRbtModule::Init (
     IRobot * robot
)

Parameters
robot
Pointer to the kernel

Return Values
ValueMeaning
S_OKInitialization completed successfully
E_FAILInitialization failed

Remarks
If the call to Init() fails, Unload() will be called and the module is unloaded immediately