The ddpi_module_find_space operation returns the Ddpi_Space object that directly or indirectly owns the given Ddpi_Module object.
A Ddpi_Module object can be either active or hidden. If it is active, then the Ddpi_Module object is owned by a Ddpi_Process object. If it is hidden, the Ddpi_Module object is on the hidden-module list, and is owned directly by the Ddpi_Space object.
int ddpi_module_find_space(
Ddpi_Module module,
Ddpi_Space* ret_space,
Ddpi_Error* error);