News:

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

INVALID_FILE_ATTRIBUTES

Started by Shantanu Gadgil, September 16, 2006, 06:02:29 AM

Previous topic - Next topic

Shantanu Gadgil

Hello,
The return value (on error) for "GetFileAttributes" seems to be missing from WINDOWS.INC.

MS SDK says
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)

so I guess the following should be OK for ASM
INVALID_FILE_ATTRIBUTES              equ 0ffffffffh

Regards,
Shantanu
To ret is human, to jmp divine!