SymbolInfo Structure

Contains information about a symbol.

Definition

Namespace: DevCase.Win32.Structures
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public struct SymbolInfo
Inheritance
Object    ValueType    SymbolInfo

Remarks

Constructors

SymbolInfo Initializes a new instance of the SymbolInfo structure.

Methods

Equals Indicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCode Returns the hash code for this instance.
(Inherited from ValueType)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToString Returns the fully qualified type name of this instance.
(Inherited from ValueType)

Fields

Address The virtual address of the start of the symbol.
Flags The symbol information.

This member can be one or more of the SymFlags values.

Index The unique value for the symbol.

The value associated with a symbol is not guaranteed to be the same each time you run the process.

For .pbd symbols, the index value for a symbol is not generated until the symbol is enumerated or retrieved through a search by name or address.

The index values for all CodeView and COFF symbols are generated when the symbols are loaded.

MaxNameLen The size of the Name buffer, in characters.

If this member is 0, the Name member is not used.

ModBase The base address of the module that contains the symbol.
Name The name of the symbol.

The name can be undecorated if the UndName option is used with the SymSetOptions(SymOptionFlags) function.

NameLen The length of the name, in characters, not including the null-terminating character.
Register The register.
Reserved1 This member is reserved for system use.
Reserved2 This member is reserved for system use.
Scope The DIA scope.
Size The symbol size, in bytes.

This value is meaningful only if the module symbols are from a pdb file; otherwise, this value is typically zero and should be ignored.

SizeOfStruct The size of this structure, In bytes.

Set this member to Marshal.SizeOf(Of SymbolInfo) before calling any function.

Note that the total size of the data is the SizeOfStruct + (MaxNameLen - 1) * Marshal.SizeOf(Char).

The reason to subtract one is that the first character in the name is accounted for in the size of the structure.

Tag The PDB classification.
TypeIndex A unique value that identifies the type data that describes the symbol.

This value does not persist between sessions.

Value The value of a constant.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also