DkmModule.GetEntryPointSymbols 方法

定义

断点管理器使用 GetEntryPointSymbols 在启动可执行文件中查找) (s 的入口点符号。 对于托管代码,使用 ISymUnmanagedWriter:: SetUserEntryPoint 定义此符号。 对于本机代码,可通过查找 (main,WinMain,等等) 的各种 "main" 函数查找此符号。 第三种方法是通过实现自己的符号提供程序或实现 IDkmEntryPointQuery 来重写入口点。

位置约束:必须从监视器组件 (组件级别 100000) 中调用 API < 。

public:
 cli::array <Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^> ^ GetEntryPointSymbols();
public:
 Platform::Array <Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^> ^ GetEntryPointSymbols();
std::Array <Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol const &> GetEntryPointSymbols();
public Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[] GetEntryPointSymbols ();
member this.GetEntryPointSymbols : unit -> Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol[]
Public Function GetEntryPointSymbols () As DkmInstructionSymbol()

返回

DkmInstructionSymbol[]

弄DkmInstructionSymbol [] 表示目标进程中的方法。

适用于