Parameter Mapping to a Windows Data Type

The JADE Point primitive type can be used as a parameter to or the return value from an external function, as listed in the following table.

Windows Data Type Stack Frame Size Bytes JADE Primitive Type
LPPOINT 4 Point

Both the parameter and the return value must be passed by reference, regardless of the parameter usage (for example, constant, input, or io). The external function must therefore define the parameter or return type as a reference or pointer to a point structure. In Windows API calls, this corresponds to the LPPOINT typedef; that is, a pointer to POINT.