News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

errors in constant

Started by ToutEnMasm, June 13, 2005, 06:59:06 PM

Previous topic - Next topic

ToutEnMasm

hello,
I have translated all the numéric value of windows.inc and i have found some errors.
PT_TSTRING is unknown

PT_TSTRING equ PT_UNICODE ;if UNICODE
or PT_TSTRING equ PT_STRING8

PT_MV_TSTRING is unknown
PT_MV_TSTRING equ MV_FLAG+PT_UNICODE ;if UNICODE
PT_MV_TSTRING equ MV_FLAG+PT_STRING8

some hexadécimal value are not translated for masm   0x   made error,they can be corrected with an editor   0x012 = 0012h
           0012Lh = 0012h   Lh can be search and replace with case sensitive by h

SYSTEM_LUID equ {3E7h,0h}      define in winnt.h make error,the VCTOOLKIT couldn't translate

#define GLU_TESS_MAX_COORD              1.0e150    seem to be 0,translated by VCTOOLKIT

MAXDEVENTRIES  is sizeof int ...       ;int is written in comment as incompatible with masm32
#define MAXDEVENTRIES (sizeof (int)*8)  // Max number of device entries
MAXDEVENTRIES equ <(sizeof DWORD)*8>  ; Max number of device entries 32

Some are only usuable by C++ like

HD_NOTIFYW NMHEADERW   structure
HD_NOTIFYA equ NMHEADERA
NMHEADERA equ HD_NOTIFYA

------------------- correct syntaxe of -----------------
TYSPEC_PROGID equ <TYSPEC_FILENAME + 1>         ;4
TYSPEC_PACKAGENAME equ <TYSPEC_PROGID + 1>      ;5
-------------------- missing -----------------------------------------------
TYSPEC_OBJECTID equ <TYSPEC_PACKAGENAME+ 1>      ;6

                                 That's all
                          ToutEnMasm