48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
compile insert msWin_Point_Equates
|
|
/*
|
|
** Copyright (C) 2012-2022 Revelation Software Inc. All Rights Reserved **
|
|
|
|
Author Mr C
|
|
Date October 2012
|
|
Purpose Equates for use with Windows POINT Structure
|
|
|
|
Comments
|
|
========
|
|
|
|
Amended Date Reason
|
|
======= ==== ======
|
|
|
|
*/
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#ifndef _MSWIN_POINT_EQUATES_
|
|
#define _MSWIN_POINT_EQUATES_
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
$uses @APPID*DLLSTRUCT**MSWIN_POINT
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// POINT Structure equates - this structure is defined in the Windows API as:
|
|
//
|
|
// typedef struct _POINT {
|
|
// LONG x;
|
|
// LONG y;
|
|
// } POINT,
|
|
//
|
|
// The structure definition in OI32 is stored in SYSOBJ as
|
|
// STRUCT_WIN32_POINT
|
|
|
|
equ POINT$ to "MSWIN_POINT"
|
|
|
|
equ PT_POS_X$ to 1
|
|
equ PT_POS_Y$ to 2
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////
|