Commit Graph

1468 Commits

Author SHA1 Message Date
Robert Shearman 850ae994c6 ntdll: Change the test for no relocation information to use the
IMAGE_FILE_RELOCS_STRIPPED flag instead of a zero sized relocations
section.

This fixes loading of resource-only DLLs that have a load-address of 
0x400000.
2006-06-14 13:37:25 +02:00
Alexandre Julliard 2208694ab2 ntdll: Cast termios.c_cflag to avoid a printf format warning. 2006-06-13 14:16:57 +02:00
Alexandre Julliard cba2c84741 ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:19 +02:00
Alexandre Julliard 8e5eaaad1b ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:40 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 57939d8fa4 ntdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:07 +02:00
Alexandre Julliard 72e2dea1f1 ntdll: Added spec entry for NtQueryMultipleValueKey. 2006-06-12 16:10:28 +02:00
Pierre d'Herbemont 6d0e51fb66 ntdll: Fix NtQueryInformationThread on non x86. 2006-06-09 21:08:14 +02:00
Eric Pouech 201f469512 ntdll: Free TLS pointers when exiting thread. 2006-05-27 13:00:33 +02:00
Eric Pouech 2d3504c309 ntdll/kernel32: Moved GetThreadSelectorEntry to ntdll.
- implemented NtQueryInformationThread's ThreadDescriptorTableEntry
  information class
- used it to implement the kernel32's equivalent (GetThreadSelectorEntry)
2006-05-27 13:00:19 +02:00
Eric Pouech 1d6e2590e0 ntdll/kernel32: Pipe information.
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code 
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard 9769806c3a ntdll: Implemented RtlPcToFileHeader. 2006-05-27 10:55:48 +02:00
Francois Gouget 5d51d4c87b ntdll: Return FILE_DEVICE_CD_ROM_FILE_SYSTEM for supermount filesystems. 2006-05-25 11:01:18 +02:00
Alexandre Julliard 23f9e358ad Tests should not use wine/unicode.h. 2006-05-24 18:05:09 +02:00
Alexandre Julliard f01d9879c6 libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte. 2006-05-24 14:14:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Paul Vriens c2a2687dd8 ntdll/tests: Don't fail if a process is not available. 2006-05-17 10:42:04 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +02:00
Robert Shearman 3396a66ee7 server: Retrieve the groups for a token from the server. 2006-05-15 14:25:43 +02:00
Stefan Leichter 5996ef7f8e ntdll: Fix endless loop in port test for users without admin rights. 2006-05-15 11:47:32 +02:00
Eric Pouech 0ddd1c9e18 ntdll: Fix serial timeout regression. 2006-05-15 11:03:43 +02:00
Bernd Buschinski da6031fbab ntdll: Stub implementation of FSCTL_LOCK_VOLUME/FSCTL_UNLOCK_VOLUME. 2006-05-10 19:37:30 +02:00
James Hawkins 86a32784e2 ntdll: Add initial tests for the NT Ports API. 2006-05-10 19:37:10 +02:00
James Hawkins 31f29ffcc8 ntdll: Return STATUS_NOT_IMPLEMENTED for the unimplemented port functions. 2006-05-10 11:20:09 +02:00
Eric Pouech 5f9e9836cf ntdll/kernel32: EscapeCommFunction & associated IOCTLs
- implemented ntdll's serial IOCTL: CLR_DTR, CLR_RTS, SET_DTR,
  SET_RTS, SET_XOFF, SET_XON, RESET_DEVICE
- implemented kernel32.EscapeCommFunction on top of them
2006-05-09 21:08:14 +02:00
Eric Pouech fcdc293bb0 ntdll/kernel32: SetupComm & SET_QUEUE_SIZE
- stubbed out ntdll's serial IOCTL SET_QUEUE_SIZE
- implemented kernel32.SetupComm on top of it
2006-05-09 21:07:35 +02:00
Eric Pouech b53e016925 ntdll/kernel32: [SG]etCommTimeout, SERIAL_[GS]ET_TIMEOUT
- implemented ntdll's COMM IOCTL GET_TIMEOUTS, SET_TIMEOUTS
- implemented kernel32.GetCommTimeout and SetCommTimeout on top of them
2006-05-09 21:07:18 +02:00
Eric Pouech 28cd4fae3b ntdll/kernel32: GetCommState & IOCTL_GET_CHARS
- implemented SERIAL_GET_CHARS ioctl
- made use of it in kernel32.GetCommState
2006-05-09 21:06:24 +02:00
Eric Pouech 48646ea82b ntdll/kernel32: GetCommState & IOCTL_SERIAL_GET_HANDFLOW
- implemented SERIAL_GET_HANDFLOW ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:06:02 +02:00
Eric Pouech efb3244b0a ntdll/kernel32: GetCommState & SERIAL_GET_LINE_CONTROL
- implemented SERIAL_GET_LINE_CONTROL ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:46 +02:00
Eric Pouech c7016d9325 ntdll/kernel32: GetCommState & IOCTL_GET_BAUD_RATE
- implemented SERIAL_GET_BAUD_RATE ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:30 +02:00
Eric Pouech a05a3435fd ntdll/kernel32: SetCommState & IOCTL_SET_CHARS
- implemented ntdll's serial IOCTL SET_CHARS
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:05:09 +02:00
Eric Pouech b68203ea90 ntdll/kernel32: SetCommState & IOCTL_SET_HANDFLOW
- implemented ntdll's serial IOCTL SET_HANDFLOW
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:38 +02:00
Eric Pouech 65f137c56c ntdll/kernel32: SetCommState & IOCTL_SET_LINE_CONTROL
- implemented ntdll's serial IOCTL SET_LINE_CONTROL
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:22 +02:00
Eric Pouech 631ec30f78 ntdll/kernel32: SetCommState & IOCTL_SET_BAUD_RATE
- created dump_dcb to print out DCB information
- implemented ntdll's serial IOCTL SET_BAUD_RATE
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:03:27 +02:00
Marcus Meissner 08c2555dd8 ntdll: Make the section with AddressOfEntryPoint in it executable. 2006-05-09 12:47:25 +02:00
Mike Hearn 0154704f9f ntdll: Fix heap corruption in RtlDeleteAce. 2006-05-08 13:37:20 +02:00
Robert Shearman e52e4978b2 ntdll: Fix size check for NtQueryInformationToken(TokenGroups).
For NtQueryInformationToken(TokenGroups), don't do a size check before
the server call, as we don't know how many SIDs there are to return
and hence the needed buffer size.
2006-05-05 21:47:27 +02:00
Michael Stefaniuc 7a8818e717 Don't check pointers for NULL before RtlFreeHeap. It is redundant. 2006-05-05 20:59:50 +02:00
Jacek Caban 2333c80500 ntdll: Added NtGetTickCount implementation. 2006-04-20 20:12:48 +02:00
Alexandre Julliard 2bfe47e852 ntdll: Use NtSetContextThread in NtRaiseException. 2006-04-20 15:40:42 +02:00
Alexandre Julliard d2ad6f8355 ntdll: Get registers on the client side for NtGetContextThread on the current thread. 2006-04-20 15:40:28 +02:00
Mike McCormack 9aa468d884 ntdll: Stub implementations of NtCreateIoCompletion, NtSetIoCompletion, and NtRemoveIoCompletion.
Based on a patch by Rob Shearman.
2006-04-19 12:00:02 +02:00
Alexandre Julliard d340bd003a ntdll: Add wrappers for the remaining math functions. 2006-04-18 20:31:41 +02:00
Alexandre Julliard 473fbcb781 ntdll: Add wrappers for the string functions. 2006-04-18 20:30:43 +02:00
Juan Lang fced68672f ntdll: Initialize a variable.
Fix an uninitialized pointer in RtlCreateUserThread, caught by
coverity.
2006-04-11 11:23:49 +02:00
Hans Leidekker ec6a5175b4 ntdll: The closing brace of a guid string is at index 37. 2006-04-10 12:22:16 +02:00
Troy Rollo 90df5a967f ntdll: Fix DVD_ReadStructure's layout of layer information.
Fix DVD_ReadStructure to reflect what Windows actually does, not what
Microsoft (incorrectly) documents it to do and not what the DDK
headers (incorrectly) suggest it does.
2006-04-08 15:49:42 +02:00
Detlef Riekenberg 44aab2e23f ntdll: Added ARM architecture. 2006-04-08 15:49:24 +02:00
Alexandre Julliard 959bbf8b75 server: Get rid of alignment requirements in write_process_memory request.
All the alignment handling is now done in the write_process_memory
function inside the server.
2006-04-07 18:41:58 +02:00