Debugging Tools for Windows

ExtRemoteTyped::GetTypeFieldOffset

The GetTypeFieldOffset static method returns the offset of a member within a structure.

static
ULONG
  ExtRemoteTyped::GetTypeFieldOffset(
    IN PCSTR  Type,
    IN PCSTR  Field
    ) throw(...)

Parameters

Type
The name of the type of the structure. This can be qualified with a module name, for example, mymodule!mystruct.
Field
The name of the member in the structure. You can specify sub-members by using a dot operator (.) (for example, mymember.mysubmember).

Return Value

GetTypeFieldOffset returns the number of bytes between the address of an instance of the structure and address of the instance's member.

Requirements

Headers: Defined in Engextcpp.hpp. Include Engextcpp.hpp.

Build machine: CAPEBUILD