DbgHelpSymEnumSymbols Method

Enumerates all symbols in a process.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("DbgHelp.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool SymEnumSymbols(
	IntPtr hProcess,
	ulong baseOfDll,
	string mask,
	DelegatesSymEnumSymbolsProc enumSymbolsCallback,
	IntPtr userContext
)

Parameters

hProcess  IntPtr
A handle to a process.

This handle must have been previously passed to the SymInitialize(IntPtr, String, Boolean) function.

baseOfDll  UInt64
The base address of the module.

If this value is zero and mask parameter contains an exclamation point (!), the function looks across modules.

If this value is zero and mask parameter does not contain an exclamation point, the function uses the scope established by the SymSetContext function.

mask  String
A wildcard string that indicates the names of the symbols to be enumerated.

The text can optionally contain the wildcards, "*" and "?".

enumSymbolsCallback  DelegatesSymEnumSymbolsProc
A DelegatesSymEnumSymbolsProc callback function that receives the symbol information.
userContext  IntPtr
A user-defined value that is passed to the callback function, or Zero.

This parameter is typically used by an application to pass a pointer to a data structure that provides context for the callback function.

Return Value

Boolean
If the function succeeds, the return value is .

If the function fails, the return value is .

Remarks

See Also