共用方式為


Exe

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Exe is the only symbol without either a lexical or class parent, as it represents the global scope of the .exe or .dll file. There is only one symbol with the SymTagExe tag per file. The IDiaSession::get_globalScope method returns the symbol.

Properties

The following table shows the properties that are valid for this symbol type.

Property Data type Description
IDiaSymbol::get_age DWORD Age of this executable.
IDiaSymbol::get_guid GUID GUID of this executable.
IDiaSymbol::get_isCTypes BOOL TRUE if the symbol file associated with this executable contains C types (only in DIA SDK v8.0 or later).
IDiaSymbol::get_isStripped BOOL TRUE if private symbols have been stripped from the symbol file associated with this executable (only in DIA SDK v8.0 or later).
IDiaSymbol::get_machineType DWORD Value indicating target CPU (one of the CV_CPU_TYPE_e Enumeration values).
IDiaSymbol::get_name BSTR Name of the .exe file.
IDiaSymbol::get_signature DWORD Signature of the executable.
IDiaSymbol::get_symbolsFileName BSTR Full path for the .exe file's .pdb or .dbg file.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagExe (one of the SymTagEnum Enumeration values).

See Also

IDiaSession::get_globalScope
Lexical Hierarchy of Symbol Types