Debugging Tools for Windows |
The GetFieldData function returns the value of a member in a structure.
ULONG
GetFieldData (
IN ULONG64 TypeAddress,
IN LPCSTR Type,
IN LPCSTR Field,
IN ULONG OutSize,
OUT PVOID pOutValue
);
If the size of the structure pointed to by TypeAddress is less than 8 bytes, Field can be NULL; in this case, the entire structure is copied to pOutValue.
If the function succeeds, the return value is TRUE; otherwise, it is FALSE. If OutSize is smaller than the value returned, an exception is raised and data past the end of pOutValue might be overwritten.
Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).