open-insight/SYSPROG/STPROCINS/MSWIN_SYSTEMTIME_EQUATES.txt
2024-03-25 15:17:34 -07:00

58 lines
2.0 KiB
Plaintext

compile insert msWin_SystemTime_Equates
/*
** Copyright (C) 2012-2022 Revelation Software Inc. All Rights Reserved **
Author Mr C
Date 13 Jan 2022
Purpose Equates for use with the Windows SYSTEMTIME Structure
Comments
========
Amended Date Reason
======= ==== ======
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_SYSTEMTIME_EQUATES_
#define _MSWIN_SYSTEMTIME_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
$uses @APPID*DLLSTRUCT**MSWIN_SYSTEMTIME
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// SYSTEMTIME Structure equates - this structure is defined in the
// Windows API as:
//
// typedef struct _SYSTEMTIME {
// WORD wYear;
// WORD wMonth;
// WORD wDayOfWeek;
// WORD wDay;
// WORD wHour;
// WORD wMinute;
// WORD wSecond;
// WORD wMilliseconds;
// } SYSTEMTIME, *PSYSTEMTIME, *LPSYSTEMTIME;
equ SYSTEMTIME$ to "MSWIN_SYSTEMTIME"
equ SYSTEMTIME_POS_WYEAR$ to 1
equ SYSTEMTIME_POS_WMONTH$ to 2
equ SYSTEMTIME_POS_WDAYOFWEEK$ to 3
equ SYSTEMTIME_POS_WDAY$ to 4
equ SYSTEMTIME_POS_WHOUR$ to 5
equ SYSTEMTIME_POS_WMINUTE$ to 6
equ SYSTEMTIME_POS_WSECOND$ to 7
equ SYSTEMTIME_POS_WMILLSECONDS$ to 8
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////