Commit Graph

4719 Commits

Author SHA1 Message Date
Martin Wilck 4577875c4e Correct 2 bugs connected to asynchronous shutdown():
- Cannot call WSAGetOverlappedResult() because completion function
  destroys the overlapped structure.
- ws2_async_cleanup() called twice in case of failure.
2002-12-05 19:02:55 +00:00
Martin Wilck b5fc589f44 Set the socket to overlapped mode. 2002-12-05 19:02:20 +00:00
Francois Gouget 938ed57cb8 Skip Unicode tests if there's no Unicode support. 2002-12-05 19:01:51 +00:00
Francois Gouget ee4d9c5e29 Return an error if dwSize is not valid.
No need to dump dwFlags before it is initialized.
2002-12-05 19:00:56 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Christian Costa 71e880851b Add support for D3DBLEND_ONE for D3DRENDERSTATE_{DEST/SRC}BLEND. 2002-12-03 22:08:37 +00:00
Alexandre Julliard 274836861c Install ipexport.h and icmpapi.h with the other Windows includes. 2002-12-03 22:08:14 +00:00
Ove Kaaven 729dd8bf28 Added more types to wtypes.idl. 2002-12-03 21:42:17 +00:00
Martin Wilck 2a5f290ce1 Fixed test to run fine (0 errors) on Win NT. 2002-12-03 21:36:58 +00:00
Alberto Massari c0e2c5ae5b SHGetSetSettings has now the right signature and the expected behavior
when the user is asking to get the current settings.
2002-12-03 21:36:22 +00:00
Rolf Kalbermatter 25304d0a5e Fix ANSI->Unicode calling for ExtractIconExA/W. 2002-12-03 21:35:43 +00:00
Rolf Kalbermatter a53a988171 Modify PrivateExtractIcons{AW} to match better current MDSN
documentation.
2002-12-03 21:35:27 +00:00
Alexandre Julliard 9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Jukka Heinonen 2ec8b71bae Clean up int21 handling. Move error handling to winedos.
Call INT_Int21Handler only to emulate selected functions.
2002-12-03 19:11:49 +00:00
Jukka Heinonen 7b7f198786 Move DPMI segments to winedos. 2002-12-02 21:39:58 +00:00
Lionel Ulmer 5261f031a4 - only handle memory allocation for non-already loaded textures
- implement GetCaps for D3DDevice7
2002-12-02 21:39:34 +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
Christian Costa 2db04157c7 Handle D3DLIGHTSTATE_COLORVERTEX to prevent SetLightState from
failing.
2002-12-02 21:11:47 +00:00
Patrik Stridvall 7bff19ea6e Added FIXME:s in the stubs. 2002-12-02 19:00:59 +00:00
Lionel Ulmer 41fcb0bbe4 - implement the texturing the D3D3 way
- prepare for multi-texturing support
2002-12-02 18:59:11 +00:00
Jukka Heinonen 742142521a Rename old DOS3Call as INT_Int21Handler and make new DOS3Call call
directly winedos int21 handler.
2002-12-02 18:58:32 +00:00
Jukka Heinonen c71cf7e60f Move int13 handler to winedos. 2002-12-02 18:57:42 +00:00
Jeff Smith 528ac6386e Fix for MIDI Mapper. 2002-12-02 18:57:00 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Christian Costa 0a6c272766 Add D3D capability. 2002-11-30 19:29:20 +00:00
Lionel Ulmer c5f38756a2 - actually use the VertexBuffer stubs
- implement Lock function to prevent crash when the stubs are used
2002-11-30 19:27:19 +00:00
Lionel Ulmer f4b941e859 Beginning of support for D3D7 / D3DDevice7. 2002-11-30 19:21:42 +00:00
Alexandre Julliard e0c6370c75 Removed some checklink rules made unnecessary by the -z defs linker
flag.
2002-11-30 19:19:44 +00:00
Lionel Ulmer a6e5080296 - some more code sharing between D3DDevice versions
- implementation of D3DFVF_TLVERTEX format fast path
2002-11-30 19:19:00 +00:00
Lionel Ulmer 708c4b244f - fixed D3DFVF_VERTEX case
- some other miscellaneous fixes
2002-11-30 19:12:32 +00:00
Lionel Ulmer 5f49e78e35 - start of support for device locking / unlocking via glReadPixels /
glDrawPixels interface (slow but should be enough for a start)
 - implement one vertex case for the D3D3/7 DrawPrimitive functions
 - fix a missing \n in a TRACE call
2002-11-30 19:06:52 +00:00
Hleb Valoska 684444e67b Some fixes to Belarusian locale. 2002-11-30 19:05:59 +00:00
Francois Gouget 952407b1e0 {Get,Set}ThreadPriorityBoost and SetThreadIdealProcessor are missing
on Win95 -> use GetProcAddress.
Cleanup the handling of OpenThread.
Check SuspendThread after a thread terminates (needed by Ipix).
Remove unnecessary version checks (check for
ERROR_CALL_NOT_IMPLEMENTED and similar instead).
Cleanup casts, signed/unsigned comparisons.
2002-11-30 19:03:19 +00:00
Francois Gouget f465a8d658 GetDiskFreeSpace(all NULLs) crashes on NT4 -> removed.
GetDiskFreeSpace("." | "..") fails on Win98 and NT4 but succeeds on XP
-> removed.
Skip the GetDiskFreeSpace tests on floppy drives because NT pops up a
MessageBox if no floppy is present.
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:53 +00:00
Francois Gouget 3475b9edc9 SetEnvironmentVariableA(NULL, NULL) crashes on Win98 -> removed.
SetEnvironmentVariableA("", value) crashes on NT4 -> removed.
The behavior of SetEnvironmentVariableA("", "") varies to much ->
removed.
Test the behavior of SetEnvironmentVariable{A,W}(name, "") taking into
account the differences between Win9x and NT.
Test the behavior of GetEnvironmentVariable{A,W}(name, buf, 0).
Fix the error code checks to take into account the differences between
Win9x, NT4 and XP.
Skip the unicode tests if the first call returns
ERROR_CALL_NOT_IMPLEMENTED.
Whenever a test fails, print sufficient information (typically return
code and GetLastError()!) to let the developer figure out what is
wrong.
2002-11-30 19:02:22 +00:00
Rolf Kalbermatter e2b06d2a10 Added stub implementation with correct prototypes for
ExtractAssociatedIconExA/W.
2002-11-30 02:22:24 +00:00
Lionel Ulmer 2b87b23321 Implemented GetRenderTarget. 2002-11-30 02:20:31 +00:00
Lionel Ulmer 9e94cece22 Added enumeration of ZBuffer format. 2002-11-30 02:20:11 +00:00
Alexandre Julliard 5926cea79f Partially implemented kernel/user times in GetThreadTimes (based on a
patch by Ryan Cumming).
2002-11-30 01:56:56 +00:00
Lionel Ulmer 374a7abd65 Implement wglCreateLayerContext for layer 0. 2002-11-30 01:55:59 +00:00
Lionel Ulmer 5cb15cda5e Do not forget to AddRef the returned Direct3D interface. 2002-11-30 01:53:44 +00:00
Lionel Ulmer bc8cc53163 Add DDCAPS2_CANRENDERWINDOWED capabilities to our DDraw driver. 2002-11-30 01:53:13 +00:00
Jeff Smith 5e0bdcc4d1 Fixed 32 bit flag in midiOutShortMsg. 2002-11-30 01:51:56 +00:00
Andreas Mohr 60e0491fa2 Fixed text mode value. 2002-11-30 01:50:55 +00:00
Lionel Ulmer da0b4dc74e - fix caps filling to be more in line with what we support
- optimize a little bit the DrawPrimitive function
2002-11-30 01:49:08 +00:00
Lionel Ulmer 4941a3aff2 - fix texture snooping (plus adds snoop for 1555 format)
- add texture memory usage tracking
2002-11-27 21:38:28 +00:00
Steve Lustbader e45b1e5cd8 Provide stubs for DnsHostnameToComputerNameA/W. 2002-11-27 21:38:06 +00:00
Alexandre Julliard 14a22702ac Added definitions for a couple of stub functions that we import so
that we don't import stubs directly.
2002-11-27 20:25:12 +00:00
Patrik Stridvall 6cd866b0e6 Fixed some issues found by winapi_check. 2002-11-27 20:21:24 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Dimitrie O. Paun d2e881d543 - Typesafe parameters from TREEVIEW_NotifyFormat.
- Rewrite TREEVIEW_NotifyFormat.
- Fix several invocations of TREEVIEW_SendTreeviewNotify.
2002-11-27 20:15:49 +00:00
Vincent Béron ea966aa6d3 Fix for implicit declaration of abs. 2002-11-27 20:14:45 +00:00
Vincent Béron ca7bce5960 Fix for deprecated use of label at the end of compound statement. 2002-11-27 20:14:32 +00:00
Bill Medland 5a29089727 Correct GetNumberFormatA for zero decimals and for zero grouping. 2002-11-27 20:13:22 +00:00
Steve Lustbader a2e1222486 Stubs for CreateTimerQueue and DeleteTimerQueueEx. 2002-11-25 20:51:31 +00:00
Steve Lustbader f1e1fd05eb Assorted Win2k/WinXP stubs. 2002-11-25 20:50:53 +00:00
Stefan Leichter a5d7fbfb10 Converted implementation of _lseek to _lseeki64, implemented _lseek by
calling _lseeki64.
2002-11-25 20:50:01 +00:00
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Andreas Mohr 1e6258fca5 Added the missing cx member to the MyDLGITEMTEMPLATEEX struct. 2002-11-25 02:45:19 +00:00
Stefan Leichter b88a9d5399 Converted implementation of _stat and _fstat to _stati64 and
_fstati64.
Implemented _stat/_fstat by calling _stati64/_fstati64.
2002-11-25 02:44:34 +00:00
Jason Edmeades 0ba86d81fe Add support for VarAnd between integers. 2002-11-25 02:42:33 +00:00
Lionel Ulmer dd738eab07 - Prevent the backbuffer to also have the frontbuffer flag set.
- Log the Locking flags.
- Print symbolic name (if any) of zero values for bit fields (thanks
  Andi).
2002-11-25 02:42:04 +00:00
Alexandre Julliard 2696ae4c4b Moved some GetThreadTimes tests out of the todo block. 2002-11-25 01:34:23 +00:00
György 'Nog' Jeney 6f3015b8ee - Move SetSystemTime, GetTimeZoneInformation and
SetTimeZoneInformation implementation to ntdll.
- Docu updates.
2002-11-25 01:12:39 +00:00
Aric Stewart eb56d81956 LVN_GETDISPINFO seems to always be Ansi. 2002-11-25 01:11:11 +00:00
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Lionel Ulmer 710b86e43e - add implementation for FindDevice function
- some miscellaneous clean-ups / additions
2002-11-24 22:33:41 +00:00
Alexandre Julliard 7791570139 Added CS_DBLCLKS so that systray receives double clicks. 2002-11-24 22:16:29 +00:00
Jukka Heinonen 5d3b7e64ec VGA text mode no longer flickers and it is much faster.
VGA text mode is now initialized earlier.
VGA text mode is now emulated even without console.
2002-11-24 22:15:56 +00:00
Bill Medland 6c5e2b6703 Correct UnhookWindowsHook: clear the handle so that the server doesn't
try to use it.
2002-11-24 22:15:01 +00:00
Christian Costa 774c5f77db Reenable OpenGL surface's flip method.
Reenable execute buffers.
Some bug fixes.
2002-11-24 22:14:40 +00:00
Jens Hoffmann 97bd11de89 Pass correct instance in keyboard_hook setup. 2002-11-24 22:14:08 +00:00
Jukka Heinonen ab163db7c0 Move int2f handler to winedos.
Clean winedos headers a bit.
2002-11-23 02:23:54 +00:00
Alexandre Julliard 547cdc2b02 Made gdi compile with -DSTRICT. 2002-11-22 22:16:53 +00:00
Alexandre Julliard 6c428e5c07 Fixed a number of -DSTRICT issues. 2002-11-22 21:58:03 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Alexandre Julliard 45078fb008 Properly split the 16-bit versions of GrayString and TabbedTextOut. 2002-11-22 20:41:17 +00:00
Alexandre Julliard 7ef66af34a Moved some more 16-bit functions to user16.c.
A few fixes for -DSTRICT.
2002-11-22 04:47:10 +00:00
Alexandre Julliard 8710a79d54 Compile ole32 with -DSTRICT. 2002-11-22 04:43:02 +00:00
Johan Dahlin 991fd85d2f Make shell32 compile with -DSTRICT. 2002-11-21 23:56:42 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Marcus Meissner 5163752e8e Handle the COORD <-> DWORD conversion the canonical way. 2002-11-21 23:45:31 +00:00
Steve Lustbader 24677dd4d9 Have PostMessage call PostThreadMessage when hwnd is NULL. 2002-11-21 23:44:58 +00:00
Michael Stefaniuc 28a632a830 Some -DSTRICT fixes. 2002-11-21 21:50:04 +00:00
Lionel Ulmer 43c3dc4d33 - Clean up all the D3D COM handling (but the underlaying code is still
as ugly as before).
- Handle properly (ie as on real Windows) negative values in
  rectangles during blitting.
2002-11-21 21:04:16 +00:00
Steve Lustbader 361b9e8763 Stub for SetDCBrushColor. 2002-11-21 03:56:29 +00:00
Alexandre Julliard 1550044e5d Add -lc when linking dlls to avoid warnings on FreeBSD. 2002-11-21 03:47:45 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Jukka Heinonen 1a665058e8 Removed last users of msdos/interrupts.c. 2002-11-21 00:02:09 +00:00
Alexandre Julliard 14e68ba7fe Added support for system-wide hooks. 2002-11-20 19:54:32 +00:00
Alexandre Julliard 910aebbc8e Removed -noimport on functions that are forwards to ntdll.
Added -noimport on functions that directly call the libc equivalent.
2002-11-20 19:52:14 +00:00
Tisheng Chen 80a6620815 Added Simplified Chinese support. 2002-11-20 19:47:44 +00:00
Eric Pouech 7c59874250 No longer using Win32 API relative to 16 bit subsystem for the 32 bit
part.
2002-11-20 19:47:08 +00:00
Eric Pouech f086286d4f Better support for multiple midi devices on the OSS interface. 2002-11-20 19:46:35 +00:00
Jukka Heinonen 56dff0d4df Remove some Win32s specific code. 2002-11-20 19:40:12 +00:00
Jukka Heinonen 1a6afad1a4 Removed obsolete code. 2002-11-20 19:39:11 +00:00
Alexandre Julliard 083b0beb0b Implemented some ismbc* functions (based on a patch by Greg Turner). 2002-11-19 00:52:38 +00:00
Patrik Stridvall d1447faaec Added stub implementation of cabinet.dll. 2002-11-19 00:47:12 +00:00
Alexandre Julliard a9135e8333 Removed support for 'rsrc' spec file statement. 2002-11-18 23:16:09 +00:00