Commit Graph

1299 Commits

Author SHA1 Message Date
Alexandre Julliard 60fd03d248 Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte
to avoid corrupting the last error code.
2001-12-05 22:18:48 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard b0fa2a8ca8 Fixed registry routines broken by the structure sizes fix. 2001-11-24 03:41:37 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
James Juran a630510baf GetUserName should include the terminating null character when
returning the size of the buffer returned. Correctly handle the
ERROR_MORE_DATA case.
2001-11-20 20:26:54 +00:00
Francois Gouget ea31cf0a57 Fix LUID definition. 2001-11-20 18:52:20 +00:00
Francois Gouget 3bb9a36ee0 Spelling, grammar and a bit of comment formatting fixes. 2001-10-22 19:04:32 +00:00
Patrik Stridvall e573aba23f Fixed issue found by winapi_check. 2001-10-09 21:48:39 +00:00
Travis Michielsen ef58632ac2 Created stubs for all cryptographic functions. 2001-09-12 17:09:56 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Alexandre Julliard 918da64ae2 RegSetValueExA/W: fixed REG_SZ string length handling for Win95. 2001-04-10 21:30:24 +00:00
Marcus Meissner 7e4741d1fd Added some stubs for functions used by newer rpcrt4 dlls. 2001-04-09 18:34:49 +00:00
Alexandre Julliard ab5e975907 Use TEB static buffer for Unicode conversion. 2001-03-23 19:12:01 +00:00
Alexandre Julliard 67a749999a New set of macros for server calls; makes requests without variable
part somewhat faster.
2001-02-27 02:09:16 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Alexandre Julliard c661583200 Always return success instead of overflow if caller didn't specify a
buffer.
2001-02-14 21:45:52 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Andreas Mohr 18a9d7417d Cosmetics. 2001-01-17 21:52:42 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
François Gouget 97ad5a7e02 Fixed some 0 vs. FALSE mismatches.
Fixed a '%x' vs. '%lx' mismatch.
Fixed some DWORD vs. SC_HANDLE mismatches.
2001-01-02 20:20:34 +00:00
Alexandre Julliard 0b6a79c961 Converted enum_key_value request to the new request mechanism. 2000-12-15 20:57:00 +00:00
Alexandre Julliard 5ce2329a95 Finished separation of advapi32. 2000-11-30 20:31:41 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
David Elliott 44f84b55f3 Added basic working stubs of new Windows 2000 API functions. 2000-10-29 01:24:54 +00:00
James Hatheway 4c2c7af0cc Added stubs for CryptGenRandom(), CryptReleaseContext(). 2000-10-24 01:39:29 +00:00
Alexandre Julliard 57f05e1913 Converted a few more server requests to the new mechanism. 2000-10-15 00:40:25 +00:00
Marcus Meissner 781eb0c660 Stubbed LookupAccountNameA. 2000-10-15 00:23:56 +00:00
Alexandre Julliard 454355ece1 Convert NtQueryKey and NtEnumerateKey to the new request mechanism.
Fixed a few bugs.
2000-10-02 03:46:58 +00:00
Alexandre Julliard bcf393a5e5 Converted some of the registry server requests to the new request
mechanism.
2000-10-01 01:44:50 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard e514103971 Added imports of kernel32.dll where necessary. 2000-08-06 03:47:29 +00:00
Alexandre Julliard cd770eafcd Temporarily moved advapi32 registry support back into libwine.so, and
made advapi32 a separate dll.
2000-07-25 15:10:52 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Andreas Mohr 6297451d73 Added some reg temp file clutter check (more than 100 temp files in
~/.wine).
2000-05-09 22:31:43 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard 5354417519 Fixed error checking in registry saving. 2000-03-26 18:18:03 +00:00
Dimitrie Paun 014dccc71e Cleaned up debug channels a bit. 2000-03-12 20:16:51 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Juergen Schmied 605325683f Added AddAccessAllowedAce. 2000-02-25 20:52:38 +00:00
Alexandre Julliard 45a4b0a2ec Avoid crash on NULL data pointer. 2000-02-20 13:57:13 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard cb1fc735f0 Changed the server to return STATUS_* error codes. 2000-01-24 21:58:06 +00:00
Juergen Schmied 02d45e52c5 - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
  RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
  RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
  RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
  RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
  RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
  RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
  RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 22:35:33 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Juergen Schmied 927525a9b3 If there is enough space in the buffer and the type is REG_SZ and the
string is not 0-terminated RegQueryValue and RegEnumValue are appending a 0.
2000-01-15 23:38:49 +00:00
Juergen Schmied f94761b873 Corrected behaviour of RegOpenKey in case of failure. 2000-01-09 21:10:18 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Alexandre Julliard 8a3edf9b5a Fixed/commented out duplicate entry point names. 1999-12-26 23:12:38 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Juergen Schmied 044db46459 Stubs for LsaFreeMemory, LsaQueryInformationPolicy, LsaClose.
Small fixes.
1999-12-11 23:19:54 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Michael McCormack 0c0f7d3560 Added code to some service functions (some untested), fixed
declaration of service main function.
1999-12-04 04:03:45 +00:00
Eric Pouech 2c655f5e6e Fixed some bogus error detection for RegEnumValue[AW] and
RegQueryValueEx[AW].
1999-11-25 22:05:46 +00:00
Alexandre Julliard 2fab2ef11f Changed to use new server-side registry support. 1999-11-23 19:41:34 +00:00
Peter Schlaile 096aba2ed1 Implemented StartServiceCtrlDispatcherA according to DispatcherW. 1999-11-21 01:01:04 +00:00
Michael McCormack 75a841324e Implemented OpenSCManagerW, CloseServiceHandle, OpenServiceW, and some
of QueryServiceStatus.
1999-11-21 00:58:14 +00:00
Patrik Stridvall 3a9c476a03 Fixed documentation. 1999-10-31 02:07:05 +00:00
Gerard Patel c6ad2b6fc3 Stub OpenThreadToken & OpenProcessToken for failure in Win9x mode. 1999-10-23 16:49:15 +00:00
Patrik Stridvall 311e456a64 Added support for anonymous structs/unions on compilers that implement it. 1999-09-19 14:20:33 +00:00
Patrik Stridvall f4fca7c459 Eliminated warnings. 1999-09-11 16:27:20 +00:00
Eric Kohl e2ab4d03e1 Added stub for CryptSetKeyParams(). 1999-07-31 13:07:19 +00:00
Ulrich Weigand daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Ian Schmidt e6bffc0965 Added pointer validation and additional sanity check to IsValidSid(). 1999-07-18 18:29:34 +00:00
Eric Pouech 5d04f652f6 Compiler warnings fix. 1999-07-12 13:41:20 +00:00
Ian Schmidt ec6aab5169 Added stub for SetThreadToken(), required by Office 2000. 1999-07-10 10:17:27 +00:00
Patrik Stridvall 4a73973f23 Fixed/moved/added missing/wrong function prototypes. 1999-07-04 11:01:21 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +00:00
Patrik Stridvall fdcfdb9a6d Added missing/wrong includes. 1999-06-12 14:55:11 +00:00
Alexandre Julliard 9fe7a2545a Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-14 08:17:14 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Juergen Schmied bb82dda93c Make more functions just calling down to ntdll.
New: GetSecurityDescriptorSacl.
1999-03-09 17:43:44 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Juergen Schmied 3426d85319 - made the security functions consistent. advapi calls down to ntdll now
- new SetSecurityDescriptorGroup,  SetSecurityDescriptorOwner,
  SetSecurityDescriptorSacl, GetSecurityDescriptorDacl
- nt-header cleanup
1999-02-19 16:29:05 +00:00
Jeff Garzik c3e1f72bac Added missing string.h include. 1999-02-19 15:42:11 +00:00
Francois Gouget 289211cc3b Fixed a number of warnings concerning the matching of the printf
format string and the associated parameters (actually it's mostly
TRACE and FIXMEs).
1999-02-17 16:15:11 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Ian Schmidt b67af9cd54 Added entries for most Crypt* calls.
Added stub for CryptAcquireContextA.  This allows Win98 EXPLORER.EXE
to get farther.
1999-02-13 09:08:33 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Andreas Mohr 123501fbc6 Two ADVAPI32 stubs: ImpersonateSelf32 and AccessCheck32. Spelling fixes. 1999-02-10 06:39:51 +00:00
Marcus Meissner 69c0bbea1a Some small bugfixes, added more PE relocation types (for WinCE mostly),
some console prototypes, -dll is useful for winelib too, regtest
compile fixed.
1999-02-09 14:25:57 +00:00
Juergen Schmied bf635b66a2 Stub for GetSecurityDescriptorControl. 1999-01-31 09:21:31 +00:00
Matthew Becker 6d5944564d Doc updates. 1999-01-30 12:54:32 +00:00
Matthew Becker e905f3c681 Documentation standardizations. 1999-01-28 13:46:25 +00:00
Marcus Meissner 028c434180 Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs.
Return NULL from OpenThreadToken.
1999-01-26 10:11:22 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Juergen Schmied f7b0de3f26 Moved ADVAPI32 files to dlls/advapi32.
Added stubs for eventlog functions.
1999-01-03 12:48:29 +00:00