This function scans a given resource directory and returns a CResourceDirectory object rdRoot must point to the root directory of the resource section
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected