Debugging Tools for Windows

EXT_TDOP_GET_FIELD_OFFSET

The EXT_TDOP_GET_FIELD_OFFSET sub-operation of the DEBUG_REQUEST_EXT_TYPED_DATA_ANSI Request operation returns the offset of a member within a structure.

Parameters

Operation
Set to EXT_TDOP_GET_FIELD_OFFSET for this sub-operation.
InData
Specifies the typed data that represents an instance of a structure that contains the member whose offset is being requested.
InStrIndex
Specifies the name of the member whose offset is being requested. The name is a dot-separated path and can contain sub-members. For example, mymember.mysubmember. Pointers on this dot-separated path will automatically be dereferenced. However, a dot operator (.) should still be used here instead of the usual C pointer dereference operator (->).
Out32
Receives the offset of the member within an instance of the structure. This is the number of bytes between the beginning of an instance of the structure and the member.
Status
Receives the status code returned by this sub-operation. This is the same as the value returned by Request.

Comments

EXT_TDOP_GET_FIELD_OFFSET is a value in the EXT_TDOP enumeration.

The parameters for this sub-operation are members of the EXT_TYPED_DATA structure. The members of EXT_TYPED_DATA that are not listed in the preceding Parameters section are not used by this sub-operation and should be set to zero. The descriptions of the members in the preceding Parameters section specify what the members are used for. See EXT_TYPED_DATA for more details.

See Also

DEBUG_REQUEST_EXT_TYPED_DATA_ANSI, EXT_TDOP, EXT_TYPED_DATA, Request

Build machine: CAPEBUILD