Hi I need to use SetErrormode Function in my program.
I use MASM and in my windows.inc there are these parameters>

SEM_FAILCRITICALERRORS equ 1h
SEM_NOGPFAULTERRORBOX equ 2h
SEM_NOOPENFILEERRORBOX equ 8000h

but in Win32.hlp there is one more SEM_NOALIGNMENTFAULTEXCEPT concerning this function
I suppose that when I add this parameter with it's value than it would work but.
I have no clue where can I get that hex value for that?
Who wrote these INC files for MASM?
THANX.
Posted on 2001-09-05 12:22:54 by RAGuru
The Windows.inc file is maintained by Hutch & Iczelion.

I found this with goggle:

------------------------------------------------
SEM_NOALIGNMENTFAULTEXCEPT

Windows NT RISC only: If this flag is set, the operating system automatically fixes memory alignment faults and makes them invisible to the application. It does this for the calling process and any descendant processes.

This flag has no effect on x86 processors.
------------------------------------------------
Link here.

------------------------------------------------
#define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
------------------------------------------------
Link Here

HTH
Posted on 2001-09-05 13:41:35 by rir3760
Oh thank you that is enough for me!
It was not in my WinAPI help!
Posted on 2001-09-05 14:39:22 by RAGuru