Object Directory Model

The application model recommended for all INtime applications (and generated by the wizards) uses the root directory to catalog ONLY handles of processes (and of some objects created by the INtime kernel).
Objects created by a process, that should be visible to any process are then cataloged in the directory of that process.
This leads to the following lookup sequence for an object OBJ created by process PROC:
 
   loc = GetRtNodeLocationByName(“NodeA”);
   hRoot = GetRemoteRootRtProcess(loc);
   hProcess = LookupRtHandle(hRoot, "PROC", WAIT_FOREVER);
   hObject = LookupRtHandle(hProcess, "OBJ", WAIT_FOREVER);