Skip to content

Latest commit

 

History

History
101 lines (74 loc) · 3.43 KB

nf-dbghelp-symsrvgetsupplement.md

File metadata and controls

101 lines (74 loc) · 3.43 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dbghelp.SymSrvGetSupplement
SymSrvGetSupplement function (dbghelp.h)
The SymSrvGetSupplement function (dbghelp.h) retrieves the specified file from the supplement for a symbol store.
SymSrvGetSupplement
SymSrvGetSupplement function
SymSrvGetSupplementW
base.symsrvgetsupplement
dbghelp/SymSrvGetSupplement
dbghelp/SymSrvGetSupplementW
base\symsrvgetsupplement.htm
Debug
2cad61c6-c8a1-437f-8e2c-1fa70eb348c2
08/04/2022
SymSrvGetSupplement, SymSrvGetSupplement function, SymSrvGetSupplementW, base.symsrvgetsupplement, dbghelp/SymSrvGetSupplement, dbghelp/SymSrvGetSupplementW
dbghelp.h
Windows
SymSrvGetSupplementW (Unicode) and SymSrvGetSupplement (ANSI)
Dbghelp.lib
Dbghelp.dll
Windows
DbgHelp.dll 6.3 or later
19H1
SymSrvGetSupplement
dbghelp/SymSrvGetSupplement
c++
APIRef
kbSyntax
DllExport
Dbghelp.dll
SymSrvGetSupplement
SymSrvGetSupplement
SymSrvGetSupplementW

SymSrvGetSupplement function

-description

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

-parameters

-param hProcess [in]

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

-param 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.

-param Node [in]

The symbol file associated with the supplemental file.

-param File [in]

The name of the file.

-returns

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.

-see-also

DbgHelp Functions

SymSrvStoreSupplement