This function returns a pointer to the topology data in a location specified by an application pointer. The topology data structure is defined next.
Return Values: Returns 0 if successful. Returns an error value otherwise.
Invalid topology pointer
Insufficient memory
Insufficient memory