Export (0) Print
Expand All
Expand Minimize

SymSrvGetSupplement function

Retrieves the specified file from the supplement for a symbol store.

Syntax


PCTSTR WINAPI SymSrvGetSupplement(
  _In_      HANDLE hProcess,
  _In_opt_  PCTSTR SymPath,
  _In_      PCTSTR Node,
  _In_      PCTSTR File
);

Parameters

hProcess [in]

A handle to a process. This handle must have been previously passed to the SymInitialize function.

SymPath [in, optional]

The symbol path. The function uses only the symbol stores described in standard syntax for symbol stores. All other paths are ignored. If this parameter is NULL, the function uses the symbol path set using the SymInitialize or SymSetSearchPath function.

Node [in]

The symbol file associated with the supplemental file.

File [in]

The name of the file.

Return value

If the function succeeds, the return value is the fully qualified path for the supplemental file.

If the function fails, the return value is NULL. To retrieve extended error information, call GetLastError.

Remarks

For more information on supplemental files, see SymSrvStoreSupplement.

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.

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.

To call the Unicode version of this function, define DBGHELP_TRANSLATE_TCHAR.

Requirements

Redistributable

DbgHelp.dll 6.3 or later

Header

DbgHelp.h

Library

Dbghelp.lib

DLL

Dbghelp.dll

Unicode and ANSI names

SymSrvGetSupplementW (Unicode) and SymSrvGetSupplement (ANSI)

See also

DbgHelp Functions
SymSrvStoreSupplement

 

 

Community Additions

ADD
Show:
© 2014 Microsoft