ImportC: Windows.h

name n at m.e
Fri Dec 1 10:02:18 UTC 2023


So, uh, I tried deleting the parens off GENERIC_READ's value:

winnt.h:
```c
//
//  These are the generic rights.
//

#define GENERIC_READ                     0x80000000L
#define GENERIC_WRITE                    (0x40000000L)
#define GENERIC_EXECUTE                  (0x20000000L)
#define GENERIC_ALL                      (0x10000000L)
```

And... that's what works. Uhh, why?


More information about the Digitalmars-d-learn mailing list