Commit Graph

285 Commits

Author SHA1 Message Date
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Mike McCormack 0791d06215 Interlocked LONG* gcc warning fixes. 2005-07-12 19:21:36 +00:00
Detlef Riekenberg 0af6ae55e9 NetUserAdd + NetUserDel implemented as stub.
Made some FIXME more informative.
Marked some FIXME as stub.
Added comments before some functions.
2005-07-07 20:26:41 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Alexandre Julliard 629352bdc4 Moved network configuration parameters to HKCU\Software\Wine\Network. 2005-06-14 17:22:41 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jakob Eriksson 53a4473334 No need continuing tests if no NetUserGetInfo. 2005-03-25 10:24:45 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Juan Lang 8528796c48 Fix a test to pass under XP. 2005-03-14 10:05:58 +00:00
Ulrich Czekalla a47a0e3be7 Added stub implementation of NetGetJoinInformation. 2005-01-20 10:35:21 +00:00
Jakob Eriksson 41314e6992 Fix test failure on Windows 2000. 2004-12-27 17:04:38 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Juan Lang e0399f6c10 In Netbios(),
- set ncb_retcode and ncb_cmd_cplt for NCB_ADDNAME
- always make sure adapters have been enumerated.
2004-12-16 14:34:47 +00:00
Juan Lang e520346265 Convert some registry calls from A to W. 2004-12-08 13:49:36 +00:00
Jon Griffiths 5685659d75 Allow NCBRESET and NCBADDNAME to work even if there are no adapters. 2004-11-30 17:26:22 +00:00
Hans Leidekker fe442b21f7 Fix signed/unsigned comparison warnings. 2004-09-08 01:23:57 +00:00
Juan Lang 759ef45945 Fix NetApiBufferReallocate and tests based on results from winetest. 2004-04-21 22:24:38 +00:00
Francois Gouget 8fc374d8b4 Make Unicode strings 'static const'. 2004-04-20 02:14:00 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Juan Lang 1ad8180e44 - fix a couple tests and traces
- add a couple stubs required by native ntlanman.dll
2004-04-05 20:17:45 +00:00
Hans Leidekker 7e8e12439a NetServerGetInfo() pseudo stub. 2004-04-02 19:17:42 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard e8a339c1d2 Portability fixes for LSB compatibility. 2004-03-01 21:32:02 +00:00
Juan Lang 93e268efbd Implement NetpNetbiosStatusToApiStatus. 2004-03-01 21:23:51 +00:00
Patrik Stridvall 8f9b09e947 Fixed some issues found by winapi_check. 2004-02-27 21:32:54 +00:00
Steven Edwards 000a5c73ee Porting Fixes for Mingw/MSVC. 2004-02-10 20:09:43 +00:00
Chris Morgan 6088c11f96 Stub NetUserEnum(). 2004-02-06 05:17:39 +00:00
Juan Lang c935908e2a - fix broadcast address for name lookups after iphlpapi change
- fix bad registry key opening
2004-01-30 22:55:25 +00:00
Francois Gouget ce7c3b50ac Add trailing '\n's to ok() calls. 2004-01-27 20:13:03 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Alexandre Julliard d03300eca3 Define INADDR_NONE if needed (reported by Robert Lunnon). 2004-01-15 00:25:41 +00:00
Robert Lunnon 9376904446 FD_SET is not a type changed to struct fd_set.
Reordered headers to avoid including sys/select.h before winbase.h.
2004-01-14 05:20:59 +00:00
Steven Edwards d8f9c1c076 Fix compiling netapi32 on MSVC with PSDK headers. 2004-01-02 20:15:05 +00:00
Juan Lang a5545b64e5 Fix conflicting registry value names, and try both Win9x and WinNT
locations for NetBT registry values.
2004-01-02 03:55:53 +00:00
Huw Davies f92bbe6c65 Fix incorrect calculation of transport_addr. 2003-12-11 04:26:38 +00:00
Juan Lang 216a0dfbe7 Partially implement NetWkstaGetInfo. 2003-12-08 21:45:44 +00:00
Mike McCormack ed224b3398 Stub implementations for some functions. 2003-12-04 20:53:46 +00:00
Dimitrie O. Paun add6726c90 Fix NetApiBufferReallocate and add a few tests for the border cases
(thanks to Juan Lang for clarifications).
2003-12-04 01:42:34 +00:00
Juan Lang e7fd6fd2a1 Implemented a lot of Netbios(). 2003-11-29 00:19:19 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Jon Griffiths 90535ce905 Various test fixes for XP/msvc. 2003-09-25 20:29:40 +00:00
Geoff Thorpe 23609d22d6 Added a stub for NetStatisticsGet. 2003-09-11 03:09:19 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths e1e0728ba6 Fix compilation under VS.Net. 2003-07-18 22:53:49 +00:00
Uwe Bonnes 119eacc6d3 Removed a no longer used header. 2003-07-08 21:10:45 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Eric Pouech 9b5cde85a2 Fixed a few bugs in network interface handling (code & test). 2003-06-23 03:32:28 +00:00
Juan Lang c5e856a300 Use iphlpapi to enumerate LAN adapters.
Add names to NetBIOS transports, and eliminates loopback adapters from
enumerated LAN adapters.
2003-06-16 01:23:20 +00:00
Aric Stewart 3e53d11efe Added stub for NetServerEnum. 2003-05-19 23:06:35 +00:00
Juan Lang 7b55bc45eb Better API compliance and test case for NetWkstaTransportEnum. 2003-04-30 00:48:56 +00:00
Alexandre Julliard 5537dbbf40 Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Uwe Bonnes 51e4839fb0 Separate "Enumerate Hardware Addresses" as function, as other netapi32
function need it.
Implemented level 0 of NetWkstaTransportEnum.
2003-02-14 23:29:24 +00:00
Francois Gouget b611dac7ef On Win9x netapi32.dll does not export a single API so we do a
GetProcAddress for each of them and skip the tests when necessary.
On Win9x GetUserNameW and GetComputerNameW are stubs.
Improve error reporting in access.c.
2002-12-19 01:04:12 +00:00
Uwe Bonnes bf25cefe7f NetUserGetInfo: implemented Level 1. 2002-12-17 01:46:40 +00:00
Chris Morgan b3123fac25 Stub NetGetDCName(). Add in the rest of the NERR_* defines. 2002-12-13 20:28:03 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Patrik Stridvall b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
Andriy Palamarchuk 2693eb9a23 Implemented NetQueryDisplayInformation, NetUserGetInfo, created
conformance tests, other netapi32 bug fixes and improvements.
2002-09-23 20:36:50 +00:00
Francois Gouget 3a8601948d NetpGetComputerName, SHCopyKeyA and SHRegGetPathA don't exist on all
Windows platforms -> use GetModuleHandle + GetProcAddress.
2002-09-16 22:45:22 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Andriy Palamarchuk b812c90c2a Implemented buffer management functions, a couple of workstation
information functions, created conformance tests.
2002-09-11 02:35:17 +00:00
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard c3e06df941 Portability fixes. 2002-05-14 23:18:23 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 651a8ba880 Added some defines for compatibility with Windows headers. 2002-02-15 19:12:35 +00:00
François Gouget 2663b80f16 Make debugtools.h independent from config.h. 2001-11-06 19:01:05 +00:00
Mike McCormack 2e40b964d8 Added netapi32.dll and the Netbios() call. 2001-11-06 17:52:36 +00:00