added sysprog entities
This commit is contained in:
59
SYSPROG/STPROCINS/MSWIN_MSG_EQUATES.txt
Normal file
59
SYSPROG/STPROCINS/MSWIN_MSG_EQUATES.txt
Normal file
@ -0,0 +1,59 @@
|
||||
compile insert msWin_Msg_Equates
|
||||
/*
|
||||
** Copyright (C) 1992-2014 Revelation Software Inc. All Rights Reserved **
|
||||
|
||||
Author Captain C
|
||||
Date April 2014
|
||||
Purpose Equates for use with the Windows API Message functions
|
||||
|
||||
Amended Date Reason
|
||||
======= ==== ======
|
||||
Mr C 15 Jun 16 Added msWin_CallMsgFilter
|
||||
*/
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _MSWIN_MSG_EQUATES_
|
||||
#define _MSWIN_MSG_EQUATES_
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
declare function msWin_SendMessage, msWin_PostMessage
|
||||
declare function msWin_DispatchMessage, msWin_TranslateMessage
|
||||
declare function msWin_CallMsgFilter
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$insert msWin_PeekMessage_Equates
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
* // MSG structure equates
|
||||
* //
|
||||
* // typedef struct tagMSG {
|
||||
* // HWND hwnd;
|
||||
* // UINT message;
|
||||
* // WPARAM wParam;
|
||||
* // LPARAM lParam;
|
||||
* // DWORD time;
|
||||
* // POINT pt;
|
||||
* // }
|
||||
* //
|
||||
|
||||
equ MSG$ to "MSWIN_MSG"
|
||||
|
||||
equ MSG_POS_HWND$ to 1
|
||||
equ MSG_POS_MESSAGE$ to 2
|
||||
equ MSG_POS_WPARAM$ to 3
|
||||
equ MSG_POS_LPARAM$ to 4
|
||||
equ MSG_POS_TIME$ to 5
|
||||
equ MSG_POS_POINT$ to 6
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user