ExtRemoteTyped::GetTypeFieldOffset method (engextcpp.hpp)

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

Syntax

ULONG GetTypeFieldOffset(
  [in] PCSTR Type,
  [in] PCSTR Field
);

Parameters

[in] Type

The name of the type of the structure. This can be qualified with a module name, for example, mymodule!mystruct.

[in] 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

Requirement Value
Target Platform Desktop
Header engextcpp.hpp (include Engextcpp.hpp)