Share via


IDkmGPUSymbolQuery.SetPointerToHLSLRegister Method

Definition

Sets a C++ AMP address for a register.

public:
 void SetPointerToHLSLRegister(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::UInt64 address, int registerType, System::UInt32 registerIndex, System::UInt32 firstElement, System::UInt32 vectorElements, System::UInt32 byteOffset, System::UInt32 vectorElementSize, System::UInt32 startLiveRange, System::UInt32 endLiveRange);
public void SetPointerToHLSLRegister (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, ulong address, int registerType, uint registerIndex, uint firstElement, uint vectorElements, uint byteOffset, uint vectorElementSize, uint startLiveRange, uint endLiveRange);
abstract member SetPointerToHLSLRegister : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * uint64 * int * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 -> unit
Public Sub SetPointerToHLSLRegister (module As DkmModule, address As ULong, registerType As Integer, registerIndex As UInteger, firstElement As UInteger, vectorElements As UInteger, byteOffset As UInteger, vectorElementSize As UInteger, startLiveRange As UInteger, endLiveRange As UInteger)

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.

address
UInt64

[In] Address for register.

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.

startLiveRange
UInt32

[In] Start of live range for the symbol.

endLiveRange
UInt32

[In] End of live range for the symbol.

Applies to