Debugging Tools for Windows |
The GetFieldName and GetFieldNameWide methods return the name of a field within a structure.
HRESULT
IDebugSymbols2::GetFieldName(
IN ULONG64 Module,
IN ULONG TypeId,
IN ULONG FieldIndex,
OUT OPTIONAL PSTR NameBuffer,
IN ULONG NameBufferSize,
OUT OPTIONAL PULONG NameSize
);
HRESULT
IDebugSymbols3::GetFieldNameWide(
IN ULONG64 Module,
IN ULONG TypeId,
IN ULONG FieldIndex,
OUT OPTIONAL PSTR NameBuffer,
IN ULONG NameBufferSize,
OUT OPTIONAL PULONG NameSize
);
#ifdef UNICODE
#define GetFieldNameT GetFieldNameWide
#else
#define GetFieldNameT GetFieldName
#endif
This method may also return error values. See Return Values for more details.
GetFieldName is available in IDebugSymbols2 and later versions. GetFieldNameWide is available in IDebugSymbols and later versions.
For more information about symbols, see Symbols.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.