Define Variable vx As Memptr.
Set-size (vx) = 8.
Procedure GetCursorPos External "USER32.DLL":
Define Output Parameter vX As Memptr.
End Procedure.
Run GetCursorPos (Output vx).
MESSAGE Get-long (vx,1) Get-long (vx,5)
VIEW-AS ALERT-BOX INFO BUTTONS OK.