Commit graph

49668 commits

Author SHA1 Message Date
Timo Kreuzer
cc92aa149f remove leftover spotted by Amine
svn path=/trunk/; revision=54892
2012-01-09 22:06:04 +00:00
Timo Kreuzer
6119fdaad4 [PSDK/DDK]
- Add MAX_NATURAL_ALIGNMENT, MEMORY_ALLOCATION_ALIGNMENT and PROBE_ALIGNMENT defintions to ntdef.h
- disable prefast warnings about banned api usage, dpc access and seh filter expression
- annotate string types (PSTR, etc) as _Null_terminated_

svn path=/trunk/; revision=54891
2012-01-09 21:55:56 +00:00
Cameron Gutman
82f59adac9 [WLANCONF]
- Display fractional rates correctly (5.5 Mbps for example)

svn path=/branches/wlan-bringup/; revision=54890
2012-01-09 20:19:33 +00:00
Cameron Gutman
e1d32a01d0 [WLANCONF]
- Use a different method for determining if an adapter supports 802.11 networks so it works on drivers that don't implement OID_GEN_PHYSICAL_MEDIUM

svn path=/branches/wlan-bringup/; revision=54888
2012-01-09 03:17:23 +00:00
Cameron Gutman
bb04662d80 [WLANCONF]
- Fix supported rate calculation

svn path=/branches/wlan-bringup/; revision=54887
2012-01-09 00:09:35 +00:00
Eric Kohl
a3f9a8eb4c [EVENTLOG]
- Simplify ElfCreateEventLogHandle, ElfDeleteEventLogHandle and their callers.
- Implement ElfrOpenBELA and ElfrOpenBELW.
- Add ElfDeleteEventLogHandle stub.

svn path=/trunk/; revision=54886
2012-01-08 23:03:23 +00:00
Cameron Gutman
acdfc26b00 [WLANCONF]
- Fix my bit shifting fail

svn path=/branches/wlan-bringup/; revision=54885
2012-01-08 22:48:08 +00:00
Timo Kreuzer
1b857fffe9 [WDM] Add missing #if (NTDDI_VERSION >= ...)
NTOSKRNL/LPC] Don't check if ReplyMessage is NULL inside SEH, since it's dereferenced later anyway
[WIN32K] Don't try to print uninitialized variables
Patch by Samuel Serapion

svn path=/trunk/; revision=54881
2012-01-08 21:17:40 +00:00
Cameron Gutman
36ca688570 [WLANCONF]
- Add a missing newline
- Try to fix rate printing

svn path=/branches/wlan-bringup/; revision=54879
2012-01-08 20:11:29 +00:00
Eric Kohl
c7021c5563 [ADVAPI32]
Pass an NT path to ElfrOpenBELW.

svn path=/trunk/; revision=54878
2012-01-08 10:08:33 +00:00
Cameron Gutman
b21b8741c3 [NDISUIO]
- Fix a query binding bug that caused access to unallocated memory
[WLANCONF]
- Fix parameter parsing and dumb IOCTL_NDISUIO_QUERY_BINDING usage

svn path=/branches/wlan-bringup/; revision=54877
2012-01-08 06:51:44 +00:00
Cameron Gutman
1df989ccab [NDISUIO]
- Fix incorrect device name offset

svn path=/branches/wlan-bringup/; revision=54876
2012-01-08 06:23:53 +00:00
Cameron Gutman
781ac406d4 [NDISUIO]
- Use the correct IOCTL input buffer
[WLANCONF]
- Fix parameters to IOCTL_NDISUIO_QUERY_BINDING
- Wlanconf is ready for testing with a real WLAN adapter (for anyone who wants to checkout this branch and try it)
- Run "wlanconf -s <SSID>" to connect to an unencrypted wireless network
- Run "wlanconf -s <SSID> -w <WEP key>" to connect to a WEP encrypted wireless network (WPA not supported)

svn path=/branches/wlan-bringup/; revision=54875
2012-01-08 06:08:47 +00:00
Cameron Gutman
45a4987c53 [PSDK]
- Add some definitions
[WLANCONF]
- Add support for adhoc networks and WEP encryption
- Fix the BSSID info loop

svn path=/branches/wlan-bringup/; revision=54874
2012-01-08 04:45:51 +00:00
Cameron Gutman
cd29f3bbe9 [BOOTDATA]
- Add wlanconf.exe to reactos.cab

svn path=/branches/wlan-bringup/; revision=54873
2012-01-08 03:29:56 +00:00
Cameron Gutman
cc3106f2ec [WLANCONF]
- Fix a typo and fix CMake build

svn path=/branches/wlan-bringup/; revision=54872
2012-01-08 03:28:03 +00:00
Cameron Gutman
2e999b844a [WLANCONF]
- Build fixes and code improvements

svn path=/branches/wlan-bringup/; revision=54871
2012-01-08 03:22:37 +00:00
Cameron Gutman
bca3d2fcde [PSDK]
- Add 802.11 OIDs

svn path=/branches/wlan-bringup/; revision=54870
2012-01-08 03:12:53 +00:00
Cameron Gutman
7186176e95 [WLANCONF]
- Initial drop of a little WLAN configuration tool to use until WZC is implemented and working
- Doesn't build yet due to missing OID definitions
- Some of this code will eventually be reused when implementing WZC

svn path=/branches/wlan-bringup/; revision=54869
2012-01-08 03:02:58 +00:00
Amine Khaldi
17930265ac [PREFAST]
* Write PREfast defect log to the console. Dedicated to Timo.

svn path=/trunk/; revision=54868
2012-01-07 21:50:10 +00:00
Thomas Faber
5814b59433 [CLASSPNP]
- Fix incorrect casts. Patch by Samuel Serapion

svn path=/trunk/; revision=54867
2012-01-07 18:08:10 +00:00
Thomas Faber
900f2cecbe [LSASRV] - Correctly set return values in LsapGetObjectAttribute
[CDMAKE] - Handle out-of-memory condition
- Patch by Samuel Serapion

svn path=/trunk/; revision=54866
2012-01-07 17:45:26 +00:00
Thomas Faber
f2d3731646 [NTOSKRNL/MM]
- Fix memory type comparison in MiScanMemoryDescriptors. Spotted by Samuel Serapion

svn path=/trunk/; revision=54865
2012-01-07 17:05:41 +00:00
Timo Kreuzer
d70e186df5 [CMAKE]
Add inetcpl to msvc build

svn path=/trunk/; revision=54864
2012-01-07 16:31:13 +00:00
Timo Kreuzer
c62e8a8680 [DDK]
Add wsk.h

svn path=/trunk/; revision=54863
2012-01-07 16:14:00 +00:00
Timo Kreuzer
0972817d02 [CMAKE]
add _PREFAST_ option for amd64, too

svn path=/trunk/; revision=54862
2012-01-07 16:05:25 +00:00
Johannes Anderwald
c8c261269c [WDMAUD]
- Improve error check

svn path=/trunk/; revision=54861
2012-01-07 15:42:53 +00:00
Johannes Anderwald
0ff1f7b6ae [SHELL32]
- Check if querying  shell details failed

svn path=/trunk/; revision=54860
2012-01-07 15:40:27 +00:00
Cameron Gutman
3f96d1516b [HIVESYS]
- Add an entry for ndisuio (temporary until INF install works)
- Autostart WZC service
[NDISUIO]
- Fix crash during binding and receive
- Add more debugging

svn path=/branches/wlan-bringup/; revision=54857
2012-01-07 05:54:14 +00:00
Cameron Gutman
d665699bee [NDISUIO]
- Bug fixes
- Make the packet and buffer pools per adapter
- Crashes during bind for some reason

svn path=/branches/wlan-bringup/; revision=54855
2012-01-06 19:43:15 +00:00
Sylvain Petreolle
fa180d7efb [NDISUIO]
Add missing include path.

svn path=/branches/wlan-bringup/; revision=54853
2012-01-06 19:32:05 +00:00
Timo Kreuzer
6df852ceb8 [SAL.h]
Add definitions for declspec based sal

svn path=/trunk/; revision=54851
2012-01-06 17:02:57 +00:00
Johannes Anderwald
065fd7dbd5 [USB-BRINGUP]
- Add keyboard hid driver template ripped off from mouhid driver
- Implement keyboard driver initialization

svn path=/branches/usb-bringup/; revision=54850
2012-01-06 16:35:55 +00:00
Cameron Gutman
f889faa935 [NDISUIO]
- Build fixes

svn path=/branches/wlan-bringup/; revision=54849
2012-01-06 05:59:56 +00:00
Rafal Harabien
e33649d62d [SHELL32]
- Fix few leaks and possible buffer overflows in New menu code
- Add icons of folder and shortcut to New menu
- Display message if file can't be created

svn path=/trunk/; revision=54848
2012-01-05 23:04:06 +00:00
Eric Kohl
658d817a6e [EVENTLOG]
- Implement LogfBackupFile.
- Fix a typo.

svn path=/trunk/; revision=54847
2012-01-05 23:03:40 +00:00
Eric Kohl
262ece40e1 [ADVAPI32]
Pass nt paths to ElfrBackupELFW and ElfrClearELFW.

svn path=/trunk/; revision=54846
2012-01-05 22:07:33 +00:00
Rafal Harabien
61e7814932 [SHELL32]
- Formatting. No code changes.

svn path=/trunk/; revision=54845
2012-01-05 18:34:35 +00:00
Rafal Harabien
898071bb08 [SHELL32]
- Rewrite Open With menu and dialog
- Load all applications
- Use treeview with Recommended and Other programs
- Don't allow duplicates
- Load registry keys in proper way

svn path=/trunk/; revision=54844
2012-01-05 18:31:18 +00:00
Johannes Anderwald
f53c2c4f14 [HID]
- Implement quering compatible ids
- Fix result status for quering instance id
- Fix bug in msmouse.inf

svn path=/branches/usb-bringup/; revision=54843
2012-01-05 18:22:48 +00:00
Rafal Harabien
9aae27bf4a [NOTEPAD][WORDPAD]
- Add version information
[BOOTDATA]
- Add Notepad, Wordpad and Paint to Applications registry key

svn path=/trunk/; revision=54842
2012-01-05 17:59:19 +00:00
Timo Kreuzer
5a729992d7 [CMAKE]
Add an option to compile with PREFAST enabled, when using MSVC

svn path=/trunk/; revision=54841
2012-01-05 17:19:15 +00:00
Timo Kreuzer
8266c38acf [SAL.H]
Add macros and types for attribute based SAL

svn path=/trunk/; revision=54840
2012-01-05 17:06:10 +00:00
Timo Kreuzer
73c64d97fb [PSDK/DDK/XDK]
- Add new style SAL definitions (only dummys for now)
- Move old style SAL definitions to sal_old.h
- Convert annotations in sspi.h to new style
- Allow new style annotations for C++ again, old style annotations are not possible with C++ and gcc headers

svn path=/trunk/; revision=54839
2012-01-05 11:20:28 +00:00
Johannes Anderwald
ee21e811d0 [USB-BRINGUP]
- Add a ReactOS hack to let the hid stack initialize
- Add input.inf
- HID Mouse initializes and starts, now win32k needs some work to open the mice

svn path=/branches/usb-bringup/; revision=54838
2012-01-05 04:05:10 +00:00
Johannes Anderwald
21fb64f0bf [USB-BRINGUP]
- Fix creating instance id
- Print debug message
- Sync msmouse with head and add hid installation
- Needs input.inf written
- HID stack starts to initializes and then fails the to enable the device interface (/drivers/hid/hidclass/pdo.c:511), Logs show that IoGetDeviceObjectPointer() fails with STATUS_UNSUCCESSFUL

svn path=/branches/usb-bringup/; revision=54837
2012-01-05 01:24:11 +00:00
Johannes Anderwald
4dc6e068e2 [USB-BRINGUP]
- Create a pesudo random instance id
- Fixes assert when plugin usb devices whose device descriptor don't provide a serial number

svn path=/branches/usb-bringup/; revision=54836
2012-01-05 00:13:50 +00:00
Johannes Anderwald
874bc6a408 [USB-BRINGUP]
- Fix build

svn path=/branches/usb-bringup/; revision=54835
2012-01-04 22:21:03 +00:00
Johannes Anderwald
d1e00dac5c [USB-BRINGUP]
- Implement a HID parsing library, which is based on Haiku`s exellent HID Stack
- Implement HidP_FreeCollection, HidP_GetCaps, HidP_GetCollectionDescription, HidP_MaxUsageListLength, HidP_GetSpecificValueCaps, HidP_GetUsages, HidP_GetScaledUsageValue
- hidparse driver is now implemented enough to support a hid mouse
- Tested in VBox 4.1.4 + WinXP + ReactOS usbohci+ mouhid+ hidclass+ hidparse+hidusb

svn path=/branches/usb-bringup/; revision=54834
2012-01-04 21:58:18 +00:00
Aleksey Bragin
430051bd93 [NTOS]
- Cast to actually returned types not just PVOID.

svn path=/trunk/; revision=54833
2012-01-04 12:22:38 +00:00