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
Value
Meaning
S_OK
Initialization completed successfully
E_FAIL
Initialization failed
Remarks
If the call to Init() fails, Unload() will be called and the module is unloaded immediately