Debugging Tools for Windows |
The GetTextMacro and GetTextMacroWide methods return the value of a fixed-name alias.
HRESULT
IDebugControl::GetTextMacro(
IN ULONG Slot,
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUt OPTIONAL PULONG MacroSize
);
HRESULT
IDebugControl4::GetTextMacroWide(
IN ULONG Slot,
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUt OPTIONAL PULONG MacroSize
);
#ifdef UNICODE
#define GetTextMacroT GetTextMacroWide
#else
#define GetTextMacroT GetTextMacro
#endif
This method may also return error values. See Return Values for more details.
GetTextMacro is available in all versions of IDebugControl. GetTextMacroWide is available in IDeubgControl4 and later versions.
Before executing commands or evaluating expressions, the debugger engine will replace the alias specified by Slot with the value of the alias (returned to the Buffer buffer).
For an overview of aliases used by the debugger engine, see Using Aliases. For more information about using aliases with the debugger engine API, see Interacting with the Engine.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
SetTextMacro, GetTextReplacement, GetNumberTextReplacements, r (Registers)