From Xojo Documentation
Property (As Integer )
| This property is only available on the macOS platform.
For cross-platform development, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this property on an incompatible platform.
A reply in pointer form to the underlying AppleEvent structures for use with Declare statements.