Udostępnij za pośrednictwem


DkmStackFrame.GetEffectiveAddresses(DkmInstructionAddress) Method

Definition

A method that calculates and returns the effective addresses for the requested address. The effective address is the calculated address that an instruction operand represents. For instance, on x86, an instruction may be of the form dwordptr [esp-12]. The effective address of this operand will be the result of subtracting 12 from esp. The number of operands and effective addresses are architecture specific.

Location constraint: API must be called from an IDE component (component level > 100,000).

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Disassembly::DkmEffectiveAddress> ^ GetEffectiveAddresses(Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^ Address);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Disassembly.DkmEffectiveAddress> GetEffectiveAddresses (Microsoft.VisualStudio.Debugger.DkmInstructionAddress Address);
member this.GetEffectiveAddresses : Microsoft.VisualStudio.Debugger.DkmInstructionAddress -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Disassembly.DkmEffectiveAddress>
Public Function GetEffectiveAddresses (Address As DkmInstructionAddress) As ReadOnlyCollection(Of DkmEffectiveAddress)

Parameters

Address
DkmInstructionAddress

[In] The address for which to obtain the effective addresses.

Returns

[Out] The collection of effective addresses for this instruction if any.

Applies to