Compartilhar via


DkmRuntimeFunctionResolutionRequest.Create Method

Definition

Create a new DkmRuntimeFunctionResolutionRequest object instance. The caller is responsible for closing the created object after they are done.

public:
 static Microsoft::VisualStudio::Debugger::FunctionResolution::DkmRuntimeFunctionResolutionRequest ^ Create(Microsoft::VisualStudio::Debugger::DkmProcess ^ Process, Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId CompilerId, System::String ^ FunctionName, System::UInt32 LineOffset, System::String ^ ModuleName, Microsoft::VisualStudio::Debugger::FunctionResolution::DkmAddressSearchFlags SearchFlags, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.FunctionResolution.DkmRuntimeFunctionResolutionRequest Create (Microsoft.VisualStudio.Debugger.DkmProcess Process, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId CompilerId, string FunctionName, uint LineOffset, string ModuleName, Microsoft.VisualStudio.Debugger.FunctionResolution.DkmAddressSearchFlags SearchFlags, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.FunctionResolution.DkmRuntimeFunctionResolutionRequest Create (Microsoft.VisualStudio.Debugger.DkmProcess Process, Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId CompilerId, string FunctionName, uint LineOffset, string ModuleName, Microsoft.VisualStudio.Debugger.FunctionResolution.DkmAddressSearchFlags SearchFlags, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : Microsoft.VisualStudio.Debugger.DkmProcess * Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId * string * uint32 * string * Microsoft.VisualStudio.Debugger.FunctionResolution.DkmAddressSearchFlags * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.FunctionResolution.DkmRuntimeFunctionResolutionRequest
Public Shared Function Create (Process As DkmProcess, CompilerId As DkmCompilerId, FunctionName As String, LineOffset As UInteger, ModuleName As String, SearchFlags As DkmAddressSearchFlags, DataItem As DkmDataItem) As DkmRuntimeFunctionResolutionRequest

Parameters

Process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

CompilerId
DkmCompilerId

[In] Language/Vendor of the request. Vendor is usually set to Guid.Empty. Language and vendor will be set to Guid.Empty for function breakpoints set with an 'Unknown' language.

FunctionName
String

[In] The name of the function to resolve to.

LineOffset
UInt32

[In] The line offset from the start of the function to bind to.

ModuleName
String

[In] The name of the module to resolve to.

SearchFlags
DkmAddressSearchFlags

[In] Flags which affect how a search should be performed.

DataItem
DkmDataItem

[In,Optional] Data object to add to the new DkmRuntimeFunctionResolutionRequest instance. Pass 'null' in the case that the caller doesn't need to add a data item.

Returns

[Out] Result of this method call.

Applies to