Pelles C forum

Pelles C => Bug reports => Topic started by: Anonymous on April 16, 2005, 08:41:43 AM

Title: Missing define in winbase.h
Post by: Anonymous on April 16, 2005, 08:41:43 AM
Hi Pelle,
Your version of winbase.h is missing the #define for INVALID_FILE_ATTRIBUTES.  It should be at about line 35...
Code: [Select]

#define INVALID_HANDLE_VALUE  ((HANDLE)-1)
#define INVALID_FILE_SIZE  ((DWORD)0xFFFFFFFF)
#define INVALID_SET_FILE_POINTER  ((DWORD)-1)
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)    <-- need to add this
#define FILE_BEGIN  0
#define FILE_CURRENT  1
Title: Missing define in winbase.h
Post by: Pelle on April 16, 2005, 02:58:23 PM
Thanks for the info - I will add the missing definition.

Pelle
Title: Missing define in winbase.h
Post by: Anonymous on April 16, 2005, 04:25:12 PM
Quote from: "Pelle"
Thanks for the info - I will add the missing definition.
Pelle


You're welcome... and thank you  :)