Udostępnij za pośrednictwem


IDkmInstructionAddressOperator.IsInSameFunction Method

Definition

Compares two instruction addresses and determines if they are within the same function.

public:
 bool IsInSameFunction(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ instructionAddress, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ other);
public:
 bool IsInSameFunction(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ instructionAddress, Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ other);
bool IsInSameFunction(Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & instructionAddress, Microsoft::VisualStudio::Debugger::DkmInstructionAddress const & other);
public bool IsInSameFunction (Microsoft.VisualStudio.Debugger.DkmInstructionAddress instructionAddress, Microsoft.VisualStudio.Debugger.DkmInstructionAddress other);
abstract member IsInSameFunction : Microsoft.VisualStudio.Debugger.DkmInstructionAddress * Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> bool
Public Function IsInSameFunction (instructionAddress As DkmInstructionAddress, other As DkmInstructionAddress) As Boolean

Parameters

instructionAddress
DkmInstructionAddress

[In] Abstract representation of an executable code location (ex: EIP value). If resolved, an Instruction Address will be within a particular module instance. An Instruction Address is always within a particular Runtime Instance.

other
DkmInstructionAddress

[In] An address to compare with this address.

Returns

[Out] True if the two addresses are from the same function.

Applies to