Stores a file in the specified symbol store.
PCSTR IMAGEAPI SymSrvStoreFile( HANDLE hProcess, PCSTR SrvPath, PCSTR File, DWORD Flags );
A handle to a process. This handle must have been previously passed to the SymInitialize function.
The symbol store.
The name of the file.
The flags that control the function. This parameter can be one of the following values.
If the function succeeds, the return value is a pointer to a null-terminated string that specifies the full-qualified path to the stored file.
If the function fails, the return value is NULL. 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.
This function returns a pointer to a buffer that may be reused by another function. Therefore, be sure to copy the data returned to another buffer immediately.
To call the Unicode version of this function, define DBGHELP_TRANSLATE_TCHAR.
|Redistributable||DbgHelp.dll 6.3 or later|