comment ® ¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤
WINDOWS.INC for 32 bit MASM (Version 1.26e) Release 23 May 2003
Project WINDOWS.INC at www.masmforum.com
WINDOWS.INC is copyright software licenced to the user by the
MASM32 project. It is available completely free of any charges
for any person to use for purposes including commercial software
but the file must not be sold or included in any commercial
programming package.
This also includes publications that are for sale.
WINDOWS.INC Copyright © The MASM32 Project 1998 - 2003
Short history.
Original file 1998 hutch
NT and later additions Iczelion
Duplicate removal Jibz
Bug fixes and additions User contributed
hutch@movsd.com
¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤=÷=¤ ®
comment * ---------------------------------------------
This macro is specifically for programmers who use the
different format include files created by l2extia.exe.
NOTE : windows.inc MUST be included before any of the
include file created with l2extia.exe as they require
this macro to expand the parameters.
--------------------------------------------- *
ArgCount MACRO number
LOCAL txt
txt equ <typedef PROTO :DWORD>
REPEAT number - 1
txt CATSTR txt,<,:DWORD>
ENDM
EXITM <txt>
ENDM
pr0 typedef PROTO
pr1 ArgCount(1)
pr2 ArgCount(2)
pr3 ArgCount(3)
pr4 ArgCount(4)
pr5 ArgCount(5)
pr6 ArgCount(6)
pr7 ArgCount(7)
pr8 ArgCount(8)
pr9 ArgCount(9)
pr10 ArgCount(10)
pr11 ArgCount(11)
pr12 ArgCount(12)
pr13 ArgCount(13)
pr14 ArgCount(14)
pr15 ArgCount(15)
pr16 ArgCount(16)
pr17 ArgCount(17)
pr18 ArgCount(18)
pr19 ArgCount(19)
pr20 ArgCount(20)
pr21 ArgCount(21)
pr22 ArgCount(22)
pr23 ArgCount(23)
pr24 ArgCount(24)
pr25 ArgCount(25)
; «««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««
wsprintfA PROTO C :DWORD,:VARARG
wsprintf equ <wsprintfA>
; ---------------------------
; C and C++ type definitions
; ---------------------------
CALLBACK typedef PROTO STDCALL
WINAPI typedef PROTO STDCALL
; 8 bit BYTE
; ~~~~~
CHAR typedef BYTE
UCHAR typedef BYTE
;;; TBYTE typedef BYTE ; naming conflist with MASM data type
TCHAR typedef BYTE
bool typedef BYTE
BOOLEAN typedef BYTE
; 16 bit WORD
; ~~~~~~
;;; SHORT typedef WORD
USHORT typedef WORD
ATOM typedef WORD
WCHAR typedef WORD
OLECHAR typedef WORD
FILEOP_FLAGS typedef WORD
; 32 bit DWORD
; ~~~~~~
ABORTPROC typedef DWORD
ACCESS_MASK typedef DWORD
ACMDRIVERENUMCB typedef DWORD
ACMDRIVERPROC typedef DWORD
ACMFILTERCHOOSEHOOKPROC typedef DWORD
ACMFILTERENUMCB typedef DWORD
ACMFILTERTAGENUMCB typedef DWORD
ACMFORMATCHOOSEHOOKPROC typedef DWORD
ACMFORMATENUMCB typedef DWORD
ACMFORMATTAGENUMCB typedef DWORD
NET_API_STATUS typedef DWORD
API_RET_TYPE typedef DWORD
APPLET_PROC typedef DWORD
BOOL typedef DWORD
CALINFO_ENUMPROC typedef DWORD
COLORREF typedef DWORD
;;; CONST typedef DWORD ; naming conflist with MASM reserve word
;;; CRITICAL_SECTION typedef DWORD ; naming conflist with structure
CTRYID typedef DWORD
DATEFMT_ENUMPROC typedef DWORD
DESKTOPENUMPROC typedef DWORD
DLGPROC typedef DWORD
DRAWSTATEPROC typedef DWORD
EDITWORDBREAKPROC typedef DWORD
ENHMFENUMPROC typedef DWORD
ENUMRESLANGPROC typedef DWORD
ENUMRESNAMEPROC typedef DWORD
ENUMRESTYPEPROC typedef DWORD
FARPROC typedef DWORD
FILE_SEGMENT_ELEMENT typedef DWORD
FONTENUMPROC typedef DWORD
GOBJENUMPROC typedef DWORD
GRAYSTRINGPROC typedef DWORD
HACCEL typedef DWORD
HANDLE typedef DWORD
HBITMAP typedef DWORD
HBRUSH typedef DWORD
HCOLORSPACE typedef DWORD
HCONV typedef DWORD
HCONVLIST typedef DWORD
HCURSOR typedef DWORD
HDC typedef DWORD
HDDEDATA typedef DWORD
HDESK typedef DWORD
HDROP typedef DWORD
HDWP typedef DWORD
HENHMETAFILE typedef DWORD
HFILE typedef DWORD
HFONT typedef DWORD
HGDIOBJ typedef DWORD
HGLOBAL typedef DWORD
HHOOK typedef DWORD
HICON typedef DWORD
HIMAGELIST typedef DWORD
HIMC typedef DWORD
HINSTANCE typedef DWORD
HKEY typedef DWORD
HKL typedef DWORD
HLOCAL typedef DWORD
HMENU typedef DWORD
HMETAFILE typedef DWORD
HMODULE typedef DWORD
HMONITOR typedef DWORD
HOOKPROC typedef DWORD
HPALETTE typedef DWORD
HPEN typedef DWORD
HRGN typedef DWORD
HRSRC typedef DWORD
HSZ typedef DWORD
HTREEITEM typedef DWORD
HWINSTA typedef DWORD
HWND typedef DWORD
;;; INT typedef DWORD; naming conflist with MASM reserve word
IPADDR typedef DWORD
LANGID typedef DWORD
LCID typedef DWORD
LCSCSTYPE typedef DWORD
LCSGAMUTMATCH typedef DWORD
LCTYPE typedef DWORD
LINEDDAPROC typedef DWORD
LOCALE_ENUMPROC typedef DWORD
LONG typedef DWORD
LPARAM typedef DWORD
LPBOOL typedef DWORD
LPBYTE typedef DWORD
LPCCHOOKPROC typedef DWORD
LPCFHOOKPROC typedef DWORD
LPCOLORREF typedef DWORD
LPCRITICAL_SECTION typedef DWORD
LPCSTR typedef DWORD
LPCTSTR typedef DWORD
LPCVOID typedef DWORD
LPCWSTR typedef DWORD
LPDWORD typedef DWORD
LPFIBER_START_ROUTINE typedef DWORD
LPFRHOOKPROC typedef DWORD
LPHANDLE typedef DWORD
LPHANDLER_FUNCTION typedef DWORD
LPINT typedef DWORD
LPLONG typedef DWORD
LPOFNHOOKPROC typedef DWORD
LPOLESTR typedef DWORD
LPCOLESTR typedef DWORD
LPPAGEPAINTHOOK typedef DWORD
LPPAGESETUPHOOK typedef DWORD
LPPRINTHOOKPROC typedef DWORD
LPPROGRESS_ROUTINE typedef DWORD
LPSETUPHOOKPROC typedef DWORD
LPSTR typedef DWORD
LPSTREAM typedef DWORD
LPTHREAD_START_ROUTINE ty