Commit Graph

21 Commits

Author SHA1 Message Date
Eric Pouech
9bd4f6bf15 - made async.h ready for use in ntdll: replaced all calls to kernel32
functions with ntdll equivalent
- replaced status setter/getter for wine async structures with direct
  access to a (now included) IO_STATUS_BLOCK structure
- since we now have a IO_STATUS_BLOCK in async_private, we no longer
  need in most of the user (derivated) structures a field for
  LPOVERLAPPED (it's stored as the IO_STATUS_BLOCK)
- rewrote the async.h users accordingly
- implemented ntdll.Nt{Read|Write}File and let
  kernel32.{Read|Write}File(Ex)? use those new ntdll functions
- rewrote smb read/write interfaces to be more ntdll stylish (no
  overlapped yet)
2003-06-26 02:08:17 +00:00
Bill Medland
af81a021a0 A little SMB preparatory work:
Don't publish internal information.
Add a function for detecting UNC names.
Account for the fact that NT allows either separator character.
2003-06-24 19:23:25 +00:00
Eric Pouech
c962a6997c - in kernel32, replaced all {Enter|Leave}CriticalSection calls with
ntdll counterparts
- {Enter|Leave}CriticalSection is now a pure forward from kernel32 to
  ntdll (we now longer can use {Enter|Leave}CriticalSection in kernel32)
- replaced a few kernel32 heap management calls from ntdll, with
  RtlHeap* equivalents
2003-06-23 18:12:28 +00:00
Francois Gouget
9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Tony Lambregts
2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Alexandre Julliard
43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Marcus Meissner
f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Gerald Pfeifer
66fd8c29a2 Properly cast struct sockaddr_in* to struct sockaddr* where needed. 2003-01-23 21:20:19 +00:00
Andrew John Hughes
ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Francois Gouget
bba4bb1bc4 Remove references to PCVOID and LPUINT.
Remove types that don't exist on Windows.
2002-09-17 01:35:09 +00:00
Dmitry Timoshkov
d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Patrik Stridvall
57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Patrik Stridvall
d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Mike McCormack
963985b303 First go at reading directories on public SMB shares. 2002-07-19 03:17:19 +00:00
Gregg Mattinson
7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard
958732d21c Fixed warnings. 2002-07-02 02:09:39 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Mike McCormack
9414adf75e Implement NetBIOS resolution for UNC pathnames. 2002-05-05 20:29:15 +00:00
Patrik Stridvall
f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Gerald Pfeifer
c8764e4de0 Add missing #includes for FreeBSD and Solaris. 2002-03-19 02:06:25 +00:00
Mike McCormack
fc93261150 Begin to make wine an SMB client. 2002-03-12 19:24:04 +00:00