Mike McCormack
d9ef0a4ba4
Declare inline string function WINAPI (found by Krzysztof Foltman).
2005-03-17 13:56:53 +00:00
Dmitry Timoshkov
0497af09a7
Match RaiseException and EXCEPTION_RECORD to SDK definitions.
2005-02-24 13:15:36 +00:00
Ivan Leo Puoti
d8793bb776
Added a couple of defines.
2005-02-22 19:32:22 +00:00
Mike McCormack
3b2019badb
Make lstr* functions inline inside Wine.
2005-02-22 15:50:13 +00:00
Hans Leidekker
0cc2031409
Stub implementations for GetKernelObjectSecurity,
...
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Hans Leidekker
49f7f6c208
Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
...
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Andreas Mohr
35583201e8
GetTempPath*() uses DWORD parameters instead of UINT.
2004-12-17 19:00:09 +00:00
Rein Klazes
d694a376c7
- Reordered some code from the existing helper _GetTimeZoneBias to
...
make it more general useful (and changed the helper names to
TIME_xyz).
- Make GetTimeZoneInformation return the correct zone id constants.
- Changed some "const LPX_Y_Z" declarations to "const X_Y_Z *".
2004-10-27 21:19:22 +00:00
Alexandre Julliard
2612e60ef8
Fixed definition of MAX_COMPUTERNAME_LENGTH (spotted by Mike
...
McCormack).
2004-10-22 20:00:13 +00:00
Jon Griffiths
39bbcb48b6
Use correct tag names for compatability with fwd decls.
...
Some old code checks that _WINDEF_ is defined in windef.h.
2004-09-20 19:13:16 +00:00
Francois Gouget
c27db9b07c
Assorted spelling fixes.
2004-09-14 19:31:22 +00:00
Dmitry Timoshkov
a489fb5a8a
Move MulDiv prototype from wingdi.h to winbase.h where it belongs.
2004-09-06 20:28:01 +00:00
Francois Gouget
2e360b3ee4
Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
...
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Robert Shearman
3ae44f72b9
Added GetProcessId.
2004-08-24 18:46:05 +00:00
Francois Gouget
d21458500d
Move LDT_ENTRY to winnt.h.
2004-08-23 17:49:32 +00:00
Robert Reif
22174de9bb
Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other
...
way around.
2004-08-13 00:41:34 +00:00
Mike McCormack
d161a8f64e
Fix definition of LookupPrivilegeNameW and declare it.
2004-08-09 19:46:15 +00:00
Alexandre Julliard
410db2ada4
Rewrote SetFilePointer to use SetFilePointerEx.
2004-06-14 19:40:44 +00:00
Eric Pouech
bde649c356
Added some missing prototypes.
2004-05-18 20:43:29 +00:00
Alexandre Julliard
1cb0cf4ced
Moved wine_get_unix_file_name implementation to ntdll, and changed it
...
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Alexandre Julliard
743997fa38
Replace the get_file_info request by an fstat() on the client side.
2004-04-08 04:39:59 +00:00
Patrik Stridvall
885450a38e
Added proper headers for the *ActCtx* functions.
2004-02-27 21:28:34 +00:00
Dmitry Timoshkov
cff42a8d71
Add GetProcessHeaps() prototype.
2004-02-10 20:08:10 +00:00
Mike McCormack
4c979ea522
Added SystemTimeToTzSpecificLocalTime definition.
2004-01-16 21:22:13 +00:00
Eric Pouech
5bf3a2669b
Made wine_get_unix_file_name take a Unicode string pointer.
2004-01-05 23:42:09 +00:00
Alexandre Julliard
2fdc4dc5dd
Added missing prototypes for some implemented functions.
2003-11-26 04:11:56 +00:00
Alexandre Julliard
9e73f55af3
Store the last error code at the TEB offset used by NT instead of the
...
Win9x one.
2003-11-25 01:53:23 +00:00
Eric Pouech
8ca6cadab1
- moved the remaining of int21 calls to dlls/winedos
...
- disabled drive enabling/disabling as well as disk serial number
writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Ulrich Czekalla
fd5e811c4e
Added stubs for AccessCheckByType, AddAuditAccessAce,
...
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Alexandre Julliard
03d9f0e47a
Disable the asm inline functions when building ntdll to avoid trouble
...
when compiling without optimization.
The PPC inline functions are no longer needed now that kernel is
properly separated.
2003-11-04 04:52:54 +00:00
Alexandre Julliard
7370f60120
Implemented RtlCreateUserThread, and use it to move thread creation to
...
ntdll.
2003-10-31 00:16:20 +00:00
Alexandre Julliard
54b1d87daf
Implemented Add/RemoveVectoredExceptionHandler.
2003-10-28 21:22:50 +00:00
Alexandre Julliard
240b0a9b48
Moved the Windows version code to dlls/ntdll, and implemented
...
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Mike McCormack
e66069d94e
Declare mailslot functions.
2003-09-15 20:01:56 +00:00
Kevin Groeneveld
8be51c92e4
Add missing wReserved1 member to DCB structure definition.
...
Fix several bugs in BuildCommDCBAndTimeouts:
- make sure LPCSTR parameter is really treated as constant
- fix possible buffer overflow if passed in string is too long
- if the device control string is invalid, do not modify DCB
- do not clear entire DCB, only modify appropriate members
- fix parsing of stop bits parameter so it works for 1 and 1.5
- populate COMMTIMEOUTS when to=xxx parameter is specified
- added support for xon, odsr, octs, dtr, rts, and idsr parameters
- fix several other parsing errors
2003-09-12 00:26:15 +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
Eric Pouech
da8b582cda
Added a few missing definitions.
2003-09-02 18:16:22 +00:00
Dimitrie O. Paun
53f9c21fb7
Use angle brackets (<>) rather than quotes ("") for the include
...
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dimitrie O. Paun
cbefdefb02
Consolidate all kernel power management functions.
...
Provide prototypes and stubs for missing functions.
2003-08-12 18:56:54 +00:00
Martin Fuchs
a111466fc0
Fixed GetFileEttributesEx define.
2003-07-26 20:29:06 +00:00
Pierre d'Herbemont
b317bf2d8e
Make the PowerPC interlocked assembler code volatile.
2003-07-24 00:03:45 +00:00
Jon Griffiths
7924111bc6
Add GetSystemWindowsDirectory, GetCurrentHwProfile.
...
Remove warnings building under VS.Net.
2003-07-21 20:05:11 +00:00
Dmitry Timoshkov
da94dd4a1f
Use inline versions of APIs only internally in Wine.
2003-07-09 22:06:59 +00:00
Marcus Meissner
455c194da2
PowerPC inline versions of the interlocked functions.
2003-07-02 04:29:21 +00:00
Alexandre Julliard
ce4d111cd8
Moved the EnumResource* functions to the kernel dll, and fixed their
...
prototypes.
2003-05-07 03:21:26 +00:00
Alexandre Julliard
56b5e0862c
Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define.
2003-04-04 19:41:31 +00:00
Jukka Heinonen
6f6eb82dfc
Add prototype for GetCompressedFileSize. Move some int21 functions to
...
winedos. Improve file attribute functions.
2003-03-30 03:04:37 +00:00
Alexandre Julliard
ce61349334
Implemented file locking functions (partly based on my old Corel
...
patch). Added a few regression tests.
2003-03-18 05:04:33 +00:00
Mike Hearn
7aa04f2744
Implemented GlobalMemoryStatusEx().
2003-02-26 04:35:36 +00:00
Robert Shearman
bda22de541
- Add some stubs.
...
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Dimitrie O. Paun
8b36681bad
Rename __WINE__ to __WINESRC__.
2003-01-04 00:52:18 +00:00
Alexandre Julliard
b4a4c05aed
Removed a few more #ifdef __WINE__.
2003-01-04 00:19:17 +00:00
Francois Gouget
305ead6205
Declare LocalDiscard and GlobalDiscard (used by kernel/tests/alloc.c)
...
Remove the DISCARD_DEFINED #ifdefs.
Remove another double HeapFree (caused an assert when run on NT4),
and a HeapSize on a freed heap (the test failed on Win9x).
Fix the LocalLock/LocalUnlock tests (the memory must be allocated
with LMEM_MOVEABLE otherwise the tests don't make sense).
Remove many unnecessary casts.
Improved error reporting somewhat.
2002-12-19 01:03:48 +00:00
Alexandre Julliard
9e8e5ff71d
Implemented the Fiber* functions (with the help of Huw Davies).
2002-12-17 21:06:25 +00:00
Andreas Mohr
866d79c11f
- actually use PLUID
...
- initialize the outbound lpLuid variable with bogus values
2002-12-16 23:48:04 +00:00
Alexandre Julliard
dcc3afd259
Avoid casts between LARGE_INTEGER and FILETIME.
...
Fixed day of week of epoch.
Small cleanups.
2002-12-13 20:53:04 +00:00
Alexandre Julliard
d77294a8ec
Authors: Greg Turner <gmturner007@ameritech.net>, Ove Kaaven <ovek@transgaming.com>
...
- preliminary implementation of endpoint-mapping via a new on-demand
server-ish process
- more header fixups
- (re)implement RpcEpRegisterA, RpcEpUnregister, and
RpcEpResolveBinding using the new rpcss functionality
- update the todo list in rpcrt4_main.c a bit
- many beautifications and touch-ups
- command-line configurable timeout
- micro-client imbedded in np_server.c
2002-12-02 21:17:04 +00:00
Francois Gouget
0327e34577
Added declaration for SignalObjectAndWait.
2002-11-30 01:52:54 +00:00
Steve Lustbader
e45b1e5cd8
Provide stubs for DnsHostnameToComputerNameA/W.
2002-11-27 21:38:06 +00:00
Francois Gouget
6a6eae8695
Added SwitchToThread.
2002-11-27 20:15:11 +00:00
Steve Lustbader
a2e1222486
Stubs for CreateTimerQueue and DeleteTimerQueueEx.
2002-11-25 20:51:31 +00:00
Dimitrie O. Paun
f1151e861e
Added definition for PeekNamedPipe
...
Fixed a lot of badly indented functions.
2002-11-19 00:43:45 +00:00
Ryan Cumming
4cda16e03b
Implemented GetFileSizeEx (based on a patch by Steve Lustbader).
2002-11-15 04:12:10 +00:00
Martin Wilck
6d886a52b3
- Allow setting NetBIOS ComputerName through registry.
...
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Patrik Stridvall
ba9dc78e39
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-11-04 22:43:24 +00:00
Patrik Stridvall
1298eb4053
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-10-23 18:50:10 +00:00
Steve Lustbader
5795143368
Provide stubs for Create/DeleteTimerQueueTimer.
2002-10-07 21:46:02 +00:00
Patrik Stridvall
e29345c3bb
Added a GNU C implementation of some of the DECLSPEC_ macros and used
...
them wherever possible.
2002-10-01 18:07:37 +00:00
Dmitry Timoshkov
472d016859
Correct SIZE_T size according to MS SDK.
...
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard
341b7dceb4
Implemented the ntdll virtual memory functions, and made the kernel
...
functions use them.
2002-09-17 18:54:42 +00:00
Juraj Hercek
fc453968f0
- fixed typo error in CMYK definition (COLOREF -> COLORREF)
...
- added tags to structures (_OFSTRUCT, _FILETIME, ...)
2002-09-16 19:28:36 +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
Juergen Schmied
712caf3596
- Fixed possible loss of data with given overlapped structure on a
...
file opened in non overlapped mode.
- Fixme for file-lock functions.
2002-08-03 19:11:33 +00:00
Alexandre Julliard
267ca68253
Fixed HANDLE<->HFILE conversions, since they will be different types
...
when handles are void*.
2002-07-31 17:20:00 +00:00
Aric Stewart
49467be6d9
Added GetCurrentHwProfileA.
2002-06-14 23:32:46 +00:00
Warren Turkal
37fb021a5a
More stream definitions.
2002-06-04 00:51:05 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Vincent Béron
a032277311
- Fixed GetSystemTimeAdjustment prototype and added it to winbase.h.
...
- Fixed DosDateTimeToFileTime, FileTimeToDosDateTime,
LocalFileTimeToFileTime, FileTimeToLocalFileTime and
SystemTimeToFileTime.
2002-05-30 20:05:48 +00:00
Alexandre Julliard
9f0ff1bfd2
Moved WORDS_BIGENDIAN macros to basetsd.h.
...
Fixed FILETIME definition for big-endian.
2002-05-29 02:02:19 +00:00
Warren Turkal
129c8dc9f7
Added structures and some constants for stream handling.
2002-05-28 22:39:49 +00:00
Vincent Béron
9d9cf72a70
Partial implementation of VerifyVersionInfo{A,W}.
2002-05-24 21:13:45 +00:00
Francois Gouget
b3c7a79225
Include winerror.h if in Winelib mode.
2002-05-23 02:38:56 +00:00
Vincent Béron
244462cc70
Correct implementation of VerSetConditionMask.
2002-05-19 22:20:09 +00:00
Alexandre Julliard
6044307c3a
A few fixes for mingw cross-compilation.
2002-05-17 03:31:08 +00:00
Eric Pouech
218faf39a2
Fixed FlushInstructionCache prototype.
2002-05-11 22:54:46 +00:00
Martin Wilck
af16c98f71
Implemented overlapped WSARecvFrom(), WSASendTo(), and
...
WSAGetOverlappedResult().
Fixed shutdown() to work correctly for overlapped sockets (do not
actually do a shutdown() system call as long as there are pending
overlapped requests).
Also added correct error reporting when trying to read or write on a
shut down connection, also for ReadFile()/WriteFile() calls.
2002-04-25 21:34:24 +00:00
Huw D M Davies
c48f3b07ae
Added ImpersonateLoggedOnUser stub.
2002-04-03 19:53:31 +00:00
Geoffrey Hausheer
03f4e22327
Added test for thread functions.
2002-04-02 19:37:15 +00:00
Chris Morgan
417296c4af
Implement OpenThread() winapi call.
...
Implement a few pthreads functions.
2002-04-02 00:49:05 +00:00
Andriy Palamarchuk
33dd201542
Added declaration of the DisconnectNamedPipe call.
2002-03-28 22:06:33 +00:00
Francois Gouget
3826f77f63
Small fixes.
2002-03-19 02:02:41 +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
Eric Pouech
fbccb38e18
New XP debugging APIs: implemented DebugActiveProcessStop,
...
DebugSetProcessKillOnExit, DebugBreakProcess.
2002-02-27 01:28:30 +00:00
Patrik Stridvall
f94462fb75
Move __stdcall/__cdecl to the right place.
2002-01-31 23:22:07 +00:00
Dmitry Timoshkov
000b180a11
Added GetComputerNameEx[AW] semi-stub.
2002-01-29 18:15:11 +00:00
Dmitry Timoshkov
ca737fa478
Fix definition of BY_HANDLE_FILE_INFORMATION structure.
2001-12-26 19:50:58 +00:00
Alexandre Julliard
b0f586178a
Moved heap functions to ntdll.
...
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +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
Dmitry Timoshkov
6b6596a1e3
Fixed packing and layout of many system structures.
2001-11-23 18:44:43 +00:00