PA_GetWindowPtr


version 2003


PA_GetWindowPtr (windowRef) → long

Parameter Type Description
windowRef PA_WindowRef Window reference to convert to a MacOS WindowPtr
Function result long Corresponding WindowPtr value of a4DWindow

Description

The routine PA_GetWindowPtr converts a 4D window reference into a regular MacOS WindowPtr.

Note that, it is actually a simple typecasting of the reference. For future evolutions of this API, it is recommended using this routine instead of typecasting the 4D Window Reference yourself.