- npapi.h: Correct definitions of function pointer prototypes.
authorStefan Ginsberg <stefanginsberg@gmail.com>
Sun, 2 Aug 2009 17:38:27 +0000 (17:38 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Sun, 2 Aug 2009 17:38:27 +0000 (17:38 +0000)
commit93109445ba5b1bfb1885e30f56c84ef10dff9541
tree7d2233df918c715380dd710c4e311a1b145aac89
parent3283ffdef8ed24291d7ee5cc90245063ad665e7d
- npapi.h: Correct definitions of function pointer prototypes.
- ntifs.h & cmdata.h : Don't use array size of 0. Fixes C4200.
- wdm.h: Correct definition of 64-bit SLIST_HEADER. Add explicit casts to avoid /W4 warnings in RtlEnlargedUnsignedDivide.
- winddk.h: Add MSVC intrinsic __readfsbyte for KeGetCurrentProcessorNumber. Misc fixes.
- Fix various msvc issues in cmd, setupapi, usetup, win32csr, winlogon, msafd, ws2_32 and ext2lib, most notably:
  - cmd & doskey: Don't use fishy gcc extension to allocate variable-sized arrays from the stack. Use the heap instead.
- Disable warning C4733 for mingw_main too (was only done for mingw_wmain previously).
- advapi32: Pass the correct handles to TRACE -- spotted by MSVC.
- Set the specified register in ecx in MSVC versions of Ke386Wrmsr and Ke386Rdmsr instead of reading from/writing to a random MSR. Yay /W4.

svn path=/trunk/; revision=42342
27 files changed:
reactos/base/applications/cmdutils/doskey/doskey.c
reactos/base/setup/usetup/interface/usetup.c
reactos/base/shell/cmd/cmd.c
reactos/base/shell/cmd/console.c
reactos/base/shell/cmd/memory.c
reactos/base/shell/cmd/misc.c
reactos/base/shell/cmd/mklink.c
reactos/base/shell/cmd/parser.c
reactos/base/system/winlogon/winlogon.c
reactos/dll/cpl/desk/preview.c
reactos/dll/cpl/desk/settings.c
reactos/dll/cpl/input/add.c
reactos/dll/win32/advapi32/reg/reg.c
reactos/dll/win32/msafd/misc/dllmain.c
reactos/dll/win32/setupapi/devinst.c
reactos/dll/win32/setupapi/install.c
reactos/dll/win32/ws2_32/misc/ns.c
reactos/dll/win32/ws2_32/misc/stubs.c
reactos/include/ddk/ntifs.h
reactos/include/ddk/wdm.h
reactos/include/ddk/winddk.h
reactos/include/psdk/npapi.h
reactos/lib/3rdparty/mingw/mingw.rbuild
reactos/lib/cmlib/cmdata.h
reactos/lib/fslib/ext2lib/Mke2fs.c
reactos/ntoskrnl/include/internal/i386/intrin_i.h
reactos/subsystems/win32/csrss/win32csr/alias.c