GetSymbolLocationEx can also look up file names. By giving a simple file name as the symbol_name parameter, GetSymbolLocationEx can look up the file in the project, or on the project symbol path, and return the fully qualified path to the file in the location.file field. See GetSymbolLocation for an example.
If fLocateFiles is TRUE, and a symbol name is given without an extension, GetSymbolLocationEx will locate files that have this base name, regardless of extension. For example, if you specify “dlg” in symbol_name, GetSymbolLocationEx may return matches on “dlg.c” (a file), and “dlg.h” (another file). Furthermore, if fLocateSymbols is also TRUE, then “DLG” (a data type) may also be returned.