IDkmGPUSymbolQuery.GetPointerToHLSLRegister Method

Definition

Gets a C++ AMP address for a register.

public:
 System::UInt64 GetPointerToHLSLRegister(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, int registerType, System::UInt32 registerIndex, System::UInt32 firstElement, System::UInt32 vectorElements, System::UInt32 byteOffset, System::UInt32 vectorElementSize, System::UInt32 rva, System::UInt32 startLiveRange, System::UInt32 endLiveRange, [Runtime::InteropServices::Out] bool % isNewDynamicTag);
public ulong GetPointerToHLSLRegister (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, int registerType, uint registerIndex, uint firstElement, uint vectorElements, uint byteOffset, uint vectorElementSize, uint rva, uint startLiveRange, uint endLiveRange, out bool isNewDynamicTag);
abstract member GetPointerToHLSLRegister : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * int * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * bool -> uint64
Public Function GetPointerToHLSLRegister (module As DkmModule, registerType As Integer, registerIndex As UInteger, firstElement As UInteger, vectorElements As UInteger, byteOffset As UInteger, vectorElementSize As UInteger, rva As UInteger, startLiveRange As UInteger, endLiveRange As UInteger, ByRef isNewDynamicTag As Boolean) As ULong

Parameters

module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

registerType
Int32

[In] Type of HLSL register.

registerIndex
UInt32

[In] Index of HLSL register.

firstElement
UInt32

[In] Index of first vector element.

vectorElements
UInt32

[In] Number of vector elements.

byteOffset
UInt32

[In] Offset from beginning of register.

vectorElementSize
UInt32

[In] Size of vector element.

rva
UInt32

[In] RVA to use for mapping register information and tag address.

startLiveRange
UInt32

[In] Start of live range for the symbol.

endLiveRange
UInt32

[In] End of live range for the symbol.

isNewDynamicTag
Boolean

[Out] Is the address newly generated using dynamic tag.

Returns

[Out] Address for register.

Applies to