tcpioctl.h: new
I resolved a conflict between iptypes, structs and nspapi regarding some
core structures.
afd.h: removed definitions needed by both user land and kernel land.
tdiinfo.h: added needed definitions.
svn path=/trunk/; revision=8173
Main work on converting ROS to be able to be compiled under MSVC6 was done by Mark Nordell.
Work done by me - incorporating all this stuff into the newest CVS tree.
svn path=/trunk/; revision=7327
patch changes:
1.add mswsock.dll with stubs for allmost all functions (1 or 2 I cant get prototype of)
2.add some definitions to various header files
3.add some stubs to advapi32.dll
4.add a stub for GdiInitializeLanguagePack to gdi32.dll
5.add some stubs to iphlpapi.dll
6.add some stubs to kernel32.dll
7.add some stubs to ntdll.dll
8.add some stubs to ws2_32.dll
9.add some stub definitions to wsock32.dll
10.change wsock32.dll so that most functions redirect to ws2_32.dll or mswsock.dll (which is how microsoft does it)
11.turn -Wall -Werror on for cards
12.turn -Wall -Werror on for epsapi
13.turn -Wall -Werror on for fmifs and fix problems that resulted
14.turn -Wall -Werror on for freetype
15.turn -Wall -Werror on for vfatlib and fix problems that resulted
15.turn -Wall -Werror on for kernel32 and fix problems that resulted
16.turn -Wall -Werror on for ntdll and fix problems that resulted
17.turn -Wall -Werror on for lzexpand
18.turn -Wall -Werror on for msafd
19.turn -Wall -Werror on for psapi
20.turn -Wall -Werror on for twain
21.add some stubs to user32.dll
22.turn -Wall -Werror on for version
23.turn -Wall -Werror on for wshirda
svn path=/trunk/; revision=6055
1.add some definitions to ascii.h
2.add some definitions to base.h
3.add some definitions to defines.h
4.add some definitions to funcs.h
5.add some definitions to structs.h
6.add some definitions to unicode.h
7.add some definitions to winsock2.h
8.fix it so that the ACCESS_MODE definition in ntos\security.h is only visible in kernel mode
9.add lots of stubs to advapi32.dll (some stuff from appmgmt.h, winsafer.h, evntrace.h, winefs.h, sddl.h, wincred.h & mschapp.h still to be added)
10.add a bunch of stubs to iphlpapi.dll
11.modify kernel32.dll so that certain functions are forwarded to ntdll.dll instead of being stubs in kernel32.dll
12.modify lz32.dll so that everything points at kernel32.dll
13.fix msafd.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
14.add stubs for SendIMEMessageExW and SendIMEMessageExA to user32.dll
15.add some stubs to ws2_32.dll
16.rename WahCreateNotificationTable to WahCreateNotificationHandle in ws2help.dll (WahCreateNotificationHandle is what microsoft calls it)
17.fix ws2help.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
18.fix wshirda.h to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
19.fix wsock32\stubs.c to account for changes to winsock2.h (winsock2.h now needs stdlib.h to get the size_t type)
20.add some stubs/fix some others for wsock32.dll
21.add some stubs to secur32.dll (more to come when I get sspi.h, secext.h & ntsecpkg.h)
22.add stubs for GetConsoleKeyboardLayoutNameA & GetConsoleKeyboardLayoutNameW to kernel32
23.add stub for SetupChangeFontSize to syssetup.dll
24.add some header files from WINE (related to advapi, secur32 and others)
and 25.made lsass\ntsecapi.h redundant (the stuff that was in it is now in the WINE ntsecapi.h). Therefore, it should probobly be removed.
There are also a bunch of things in the defs/edfs that are there but commented out. This is because I have yet to find the prototype for them.
svn path=/trunk/; revision=6012
changes are:
1.add some new functions to ascii.h and unicode.h
2.add some definitions to base.h
3.add a bunch of functions to funcs.h
4.add a few structures to structs.h
5.add definitions for some missing stuff to winddi.h
6.general fixes and updates to structures and definitions in winddi.h
7.add some other structures and definitions to winddi.h
8.add some Engxxx functions to winddi.h
9.a small fix in crtdll.def
10.add all the new defs to gdi32.def and gdi32.edf
11.add all the new stubs to gdi32 stubs.c
12.implement PolyPolygon and PolyPolyline
13.some fixes to msafd.def/msafd.edf
14.change WahCloseNotificationHelper to WahCloseNotificationHandleHelper in ws2help to match the microsoft definition
15.add d3d.h, d3dcaps.h, d3dtypes.h, ddraw.h, d3dhal.h, ddrawi.h to include and include\ddk (needed for the GdiEntryxx and DdEntryxx functions in gdi32.dll). Headers are modified versions of those from WINE (stuff removed that wont compile without OLE headers, some stuff added)
16.add ddentry.h which is used with the DdEntry and GdiEntry functions
and 17.fix some stuff in stubs.c of win32k
A fair few of these definitions could be wrong (some of them are educated guesses, like some of the Gdixxx functions)
If anyone has any corrections, any answers for the FIXMEs and structures I dont have definitions for, definitions for the remaining stuff in gdi32.def with a ; in front of it or whatever, do let me know.
Or if anyone wants to comment about my changes, please let me know.
svn path=/trunk/; revision=5867
* include/structs.h: Apply packed attribute to the typedef, not the
type's name.
* include/ntos/keyboard.h: Ditto.
* include/ntos/tss.h: Ditto.
* include/win32k/cursoricon.h: Ditto.
* include/win32k/math.h: Include the compiler's math.h for builtins.
* ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Avoid warning when compiling using
GCC 3.4.
svn path=/trunk/; revision=5812
* Implemented IsChild and FreeConsole (latter is guesswork based on AllocConsole!)
* Started implementing OpenIcon (remains unfinished)
* Improved EnableWindow, IsWindowEnabled and IsZoomed
* Replaced some instances of GetWindowLong with NtUserGetWindowLong
* Added SIF_TRACKPOS to defines.h
* Added dwLocaleId to COMPAREITEMSTRUCT
svn path=/trunk/; revision=5625
Implement PolyPatBlt, SetDeskWallpaper as a call to SystemParametersInfo, UserClientDllInitialize, WCSToMBEx, MBToWCSEx, MB_GetString, SetWindowWord, TranslateMessageEx, SetMessageQueue, IsHungAppWindow
Added stubs for a bunch more functions from NT4SP6 user32.dll
svn path=/trunk/; revision=5573
* enabled _DISABLE_TIDENTS for most ReactOS OS components.
* fixed all errors that resulted from this change
* a few small bugfixes along the way
svn path=/trunk/; revision=5449
Changes for compiling with w32api
* include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
(SYSTEM_MODULE_INFORMATION): Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
Match w32api structure fieldnames.
* include/epsapi.h: Include <ntos.h>.
(PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
* lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
SYSTEM_MODULE_INFORMATION structures.
* lib/psapi/misc/win32.c: Ditto.
* ntoskrnl/ldr/loader.c: Ditto.
* lib/epsapi/enum/modules.c: Include <ntos.h>.
* lib/ntdll/rtl/thread.c: Ditto.
* lib/rosrtl/thread/context.c: Ditto.
* lib/rosrtl/thread/create.c: Ditto.
* lib/rosrtl/thread/stack.c: Ditto.
* include/ntos.h: Include "rosrtl/thread.h".
* include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
* include/winsock2.h: Ditto.
* include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
_OBJECT_TYPE.
(PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
* ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
struct _SECTION_OBJECT.
* ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
_KPCR.
svn path=/trunk/; revision=4807