reactos/win32ss
Hermès Bélusca-Maïto 99efc2ae50
[PSDK][AFD][VGADDI] Further build and MS PSDK compatibility fixes.
- windows.h:
  * should define _WINDOWS_ and _INC_WINDOWS instead of _WINDOWS_H
  * include winresrc.h if RC_INVOKED and not NOWINRES (Wine also agrees
    with that)
  * also, some .h included from there should _not_ be included if their
    respective NO*** flags are defined.

- batclass.h: Use correct _WINDOWS_ guard.

- winsnmp.h:
  * should define _INC_WINSNMP instead of _WINSNMP_H
  * use _INC_WINDOWS instead of _WINDOWS_H

- afd.h, vgaddi.h: Use the correct guards.

- winnt.rh: Define the (SUB)LANG_* exactly as they are in the winnt.h,
  otherwise we get macro redefinition compile errors.

NOTE: Ideally these .rh files should be auto-generated from their
corresponding .h files.

- afxres.h: Do not include the whole windows.h, but instead, only
  the winres.h file, and only if RC_INVOKED is defined.

NOTE: Both afxres.h and winres.h do not really belong to the PSDK,
but belong instead to MFC. The reason why we have them here is twofold:

1. Wine used to have also winres.h (from where we got ours). This is
   because the .rc resource files of some non-MFC modules were generated
   with Visual Studio, which always includes afxres.h for these, and the
   solution was to use a slightly less MFC-specific header: winres.h
   (Wine commit cb08c82244673f26842e7a0766de90f091b5a493).
   However, this winres.h has been since removed from Wine tree
   (Wine commit 197f4059ab2af5f13f9c56faa26e3b4af902f869).

2. Few of our modules either use afxres.h or winres.h in their resource
   files, and we still want to be able to compile them.
2023-11-23 16:26:30 +01:00
..
drivers [PSDK][AFD][VGADDI] Further build and MS PSDK compatibility fixes. 2023-11-23 16:26:30 +01:00
gdi [NTDDRAW][NTGDI][VGADDI] Add missing \n to DPRINT() calls (#5952) 2023-11-15 21:07:27 +01:00
include [IMM32][SDK] Add CtfAImmActivate/Deactivate functions (#5835) 2023-10-31 22:45:28 +09:00
printing [LOCALMON] Update Romanian (ro-RO) translation (#5925) 2023-11-08 20:06:16 +01:00
reactx [PSDK][WIN32SS] Fix WINNT in ddraw.h; remove NT_BUILD_ENVIRONMENT usage 2023-11-22 15:46:06 +01:00
user [USER32] Fix OEM resources compilation due to missing OBM_, OIC_, OCR_ defines... 2023-11-23 11:39:57 +01:00
CMakeLists.txt [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
napi.h [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
pch.h [PSDK][WIN32SS] Fix WINNT in ddraw.h; remove NT_BUILD_ENVIRONMENT usage 2023-11-22 15:46:06 +01:00
sys-stubs.S [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
w32ksvc32.h [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
w32ksvc64.h [WIN32K][WIN32U] Fix system call ids (#5287) 2023-05-28 16:19:50 +03:00
win32k.h Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
win32k.rc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
win32k.spec [WIN32K] Add x64/arm exports 2021-06-12 14:11:14 +02:00
win32kp.h [WIN32SS:NTUSER] Extract InitVideo() prototype and gbBaseVideo variable to header 2022-11-15 23:15:26 +01:00