The GetFieldName method returns the name of a field within a structure.
HRESULT GetFieldName( [in] ULONG64 Module, [in] ULONG TypeId, [in] ULONG FieldIndex, [out, optional] PSTR NameBuffer, [in] ULONG NameBufferSize, [out, optional] PULONG NameSize );
Specifies the base address of the module in which the structure was defined.
Specifies the type ID of the structure.
Specifies the index of the desired field within the structure.
Receives the field's name. If NameBuffer is NULL, this information is not returned.
Specifies the size in characters of the buffer NameBuffer.
Receives the size in characters of the field's name. If NameSize is NULL, this information is not returned.
This method may also return error values. See Return Values for more details.
||The method was successful.|
||The method was successful. However, NameBuffer was not large enough to hold the field's name and it was truncated.|
For more information about symbols, see Symbols.
|Header||dbgeng.h (include Dbgeng.h)|