Retrieves the omap tables within a loaded module.
BOOL IMAGEAPI SymGetOmaps( HANDLE hProcess, DWORD64 BaseOfDll, POMAP *OmapTo, PDWORD64 cOmapTo, POMAP *OmapFrom, PDWORD64 cOmapFrom );
A handle to a process. This handle must have been previously passed to the SymInitialize function.
The base address of the module.
An array of address map entries to the new image layout taken from the original layout. For details on the map entries, see the OMAP structure.
The number of entries in the OmapTo array.
An array of address map entries from the new image layout to the original layout (as described by the debug symbols). For details on the map entries, see the OMAP structure.
The number of entries in the OmapFrom array.
If the function succeeds, the return value is TRUE.
If the function fails (the omap is not found), the return value is FALSE. To retrieve extended error information, call GetLastError.
All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.
|Redistributable||DbgHelp.dll 6.8 or later|