Commit Graph

2083 Commits

Author SHA1 Message Date
Ove Kaaven b08af2f033 Fixed the IDirectDrawSurface4 interface declaration to conform a bit
more with the DirectX SDK headers' idea of what the interface looks
like.
2001-05-09 19:44:25 +00:00
Alexandre Julliard 3abeae8f4a Moved window move/resize syscommand handling to the graphics driver. 2001-05-09 17:21:04 +00:00
Marcus Meissner f30b035102 PS passthrough was sending 2 bytes too many.
Added GETSETPRINTORIENT stub.
Implemented EPSPRINTING mode changer.
2001-05-08 00:10:52 +00:00
Francois Gouget 5653939481 Added the minmax.h header (VC6).
Added support for NOMINMAX.
Remove __min/__max from windef.h, they belong to (msvcrt/)stdlib.h.
2001-05-07 20:14:00 +00:00
Francois Gouget 8a259449d9 Added missing include directives. 2001-05-07 18:20:32 +00:00
Francois Gouget fcba601cf4 RC_INVOKED (&NOWINRES) special cases. 2001-05-07 18:18:33 +00:00
Francois Gouget d46cc43f0a Added support for the DECIMAL type.
Names are no longer suffixed with 32! Removed it.
2001-05-07 18:15:38 +00:00
Francois Gouget e533a3f130 Added IS_ERROR. 2001-05-07 18:14:10 +00:00
Alexandre Julliard c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Marcus Meissner ab8b7dba77 Added CUPS printing support. 2001-04-27 18:02:46 +00:00
Alexandre Julliard 9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Francois Gouget fceb19ff8e Don't use Windows types like LONGLONG in msvcrt headers. 2001-04-24 23:16:39 +00:00
Francois Gouget c4efb32c7e Prevent use by Wine's source.
Added missing 'function' definitions (macros really).
2001-04-23 18:23:00 +00:00
Francois Gouget d1ff49d7ea Added offsetof (for the MFC). 2001-04-23 18:22:05 +00:00
Francois Gouget b29120d2c4 Add msvcrt/malloc.h (for the MFC).
Add msvcrt/search.h.
Move duplicated definitions to the new headers.
Use malloc.h instead of stdlib.h when sensible.
2001-04-23 18:20:55 +00:00
Francois Gouget 131961d4ab Provide limited support for the msvcrt debug API. 2001-04-23 18:19:27 +00:00
Alexandre Julliard 81da4bbbbb Release 20010418. 2001-04-19 01:17:26 +00:00
Alexandre Julliard c7d3931863 Moved DCX_* constants to winuser.h. 2001-04-18 17:41:57 +00:00
Gavriel State bc381a6a3f Copy the first 128 colors from the default colormap to Wine's private
colormap when using 'shared' colors.
2001-04-16 19:33:25 +00:00
Ove Kaaven 6cba8bf47f Fixed CoerceDIBSection's AuxMod handling. Added CoerceDIBSection2. 2001-04-16 19:05:37 +00:00
Ove Kaaven f0d45247bf Yet more stuff for ddrawi.h, including some GetDriverInfo GUIDs. 2001-04-16 19:04:58 +00:00
Ove Kaaven a9ea8574d4 Direct3D header update. 2001-04-16 19:02:22 +00:00
Ove Kaaven 692cc5ece7 New header d3dhal.h, the Direct3D HAL device driver interface. 2001-04-16 19:01:38 +00:00
Ove Kaaven ce4e097d4c Generalize the Wine version resource template a bit. 2001-04-16 18:58:46 +00:00
Peter Hunnisett 3d7cd87698 - Provide lobby provider COM object header file and stub implementation
- Break out dpl and dp service provider intialization
- Add missing definition of E_PENDING
- Resolve a few fixmes
- Fix includes for dplay.h
2001-04-12 21:10:54 +00:00
Alexandre Julliard 3f03975f48 Added first/last message filters to MSG_InternalGetMessage to avoid
busy waits.
2001-04-12 21:09:03 +00:00
Michael Stefaniuc 85d308631c - added stubs for three console functions
- updated wincon.h
2001-04-12 21:07:25 +00:00
Francois Gouget 7a2da179b9 Prevent multiple definitions caused by MSVCRT headers. 2001-04-10 23:23:31 +00:00
Francois Gouget eee695dd71 Added headers for the msvcrt library. 2001-04-10 23:21:43 +00:00
Peter Hunnisett de962afa56 Added stub for WSASend. 2001-04-10 21:22:34 +00:00
Marcus Meissner 40af1a87a5 Arg 3 of CoGetClassObject is COSERVERINFO*, added some more debug. 2001-04-09 18:33:49 +00:00
Alexandre Julliard 3e7497f20e Unified 16-bit and 32-bit scheduling a bit more. 2001-04-04 00:19:55 +00:00
Huw D M Davies 26ee2ca445 Fix member names in NEWTEXTMETRICEX structs. 2001-04-04 00:09:53 +00:00
James Juran 36b698fc55 Add value 106 to SystemParametersInfo. 2001-04-02 19:12:22 +00:00
Alexandre Julliard 04689b26f0 Always load the 32-bit dll containing a given 16-bit builtin.
Check the module name in addition to the file name when loading a
16-bit builtin dll.
2001-03-28 01:47:28 +00:00
Alexandre Julliard 65fcd9e27a Release 20010326. 2001-03-26 20:57:09 +00:00
Alexandre Julliard 26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Michael McCormack 1c32a46d5a Use poll() on the client-side during server waits to implement
overlapped I/O.
2001-03-22 20:09:34 +00:00
Alexandre Julliard a5a872efca Use the new send_fd mechanism for the set_console_fd server request. 2001-03-22 19:35:27 +00:00
Jeff Garzik 3ea0c073f8 Warning fixes. 2001-03-21 20:31:26 +00:00
Alexandre Julliard b9c9cdc5d4 - Added support for app-specific dll overrides using
AppDefaults\<appname>\DllOverrides configuration section.
- Better support for multiple --dll options.
- Added warning message to discourage putting multiple dlls in a
  single override entry.
2001-03-20 02:11:08 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Ove Kaaven 313051f9d6 Added gamma ramp code to the XVidMode interface. 2001-03-20 01:24:08 +00:00
Ove Kaaven 529eaed93a More DirectDraw HAL type declarations. 2001-03-20 01:15:36 +00:00
Dmitry Timoshkov 13535251bf Add version info for built-in oleaut32.dll. 2001-03-19 19:17:27 +00:00
Ove Kaaven 1859dde8e9 Added IDirectDrawGammaControl interface declaration. 2001-03-19 19:15:57 +00:00
Huw D M Davies 39f54283fc Moved GetTextMetrics to unicode. 2001-03-16 16:43:14 +00:00
Dmitry Timoshkov 07b6e6e62e Fixed prototype of GetFileVersionInfoA/W. 2001-03-16 16:42:20 +00:00
Ove Kaaven c5f35b701f Added Win2000 WS_EX_LAYERED window style. 2001-03-16 16:40:43 +00:00
James Juran 7313b78619 Added stub for SetThreadExecutionState (new function in Win98/2000). 2001-03-13 23:33:26 +00:00
Huw D M Davies 916a1a6c72 Fix typo in OUTLINETEXTMETRIC definition. 2001-03-13 23:31:40 +00:00
Francois Gouget f5a6e30493 Added CreateRemoteThread. 2001-03-10 19:15:04 +00:00
Alexandre Julliard e5dedb1906 Added support for nested server waits (to allow waiting in signal
handlers).
2001-03-08 01:16:41 +00:00
Alexandre Julliard e0da54a09f Release 20010305. 2001-03-05 22:30:07 +00:00
Alexandre Julliard 8859d77279 Create the server pipes on the client side and transfer them to the
server on thread creation.
Use a single per-process socket instead of one per thread for
transferring file handles between client and server.
2001-03-01 22:13:49 +00:00
Alexandre Julliard f52424055f New mechanism to transfer file descriptors from client to server. 2001-02-28 21:45:23 +00:00
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Alexandre Julliard 9ee9efff1b Use the standard CreateThread routine to create 16-bit tasks instead
of duplicating the code.
2001-02-28 05:29:50 +00:00
François Gouget 880cd395b7 WINE_UNICODE_TEXT was incorrect.
Dropped support for WINE_UNICODE_TEXT('c') in C.
2001-02-28 05:18:54 +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
Dmitry Timoshkov 8f73cd14ce Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.
2001-02-23 20:37:13 +00:00
Alexandre Julliard 7f187e5043 Only create the system heap when we actually need it. 2001-02-23 01:37:05 +00:00
Susan Farley 42b2c18279 Avoid alignment problems with NMPGSCROLL struct. 2001-02-23 01:32:46 +00:00
Eric Pouech 92b23186ae A first stab at implementing the RunDll features. 2001-02-23 01:12:26 +00:00
Alexandre Julliard d90e964cee Added separate server pipe to wait on blocking server calls.
Send the complete request/reply through the request fifo instead of
just a dummy byte.
Convert error status to text in server reply tracing.
2001-02-21 04:21:50 +00:00
Ian Pilcher ccfe6e9c9b Implement EnumPrinterDataEx{A|W}. 2001-02-21 04:00:40 +00:00
Alexandre Julliard 5f195f8c01 Small server protocol cleanups. 2001-02-20 23:45:07 +00:00
Alexandre Julliard ea2a9a8974 Removed a few Callout functions by doing a GetProcAddress at the time
we actually need the function.
2001-02-20 00:55:17 +00:00
Josh DuBois 9f758cc568 Moved typedef of CRITICAL_SECTION out of #pragma pack(1) block. 2001-02-20 00:49:12 +00:00
Alexandre Julliard 1c3c1e4fe6 Release 20010216. 2001-02-16 22:44:01 +00:00
Alexandre Julliard a4bc5a2138 Pass the stdin/stdout handles on startup to use as console (based on a
patch by Eric Pouech).
2001-02-16 19:08:19 +00:00
Huw D M Davies 2aa85eed18 Change FONTOBJ to use LOGFONTW rather than LOGFONT16.
Updated parameters of DEVICEFONTENUMPROC.
2001-02-14 22:56:38 +00:00
Eric Pouech 26146cdd67 Started the real implementation of mciavi. 2001-02-14 21:49:22 +00:00
Ove Kaaven 0dae89937f Some important stuff from the DirectDraw DDK headers. 2001-02-13 20:24:16 +00:00
Josh DuBois 169adf5c64 More verbose error messages when application load fails. 2001-02-13 20:23:45 +00:00
James Abbatiello 4570478a6e Use the Pentium's rdtsc instruction (if available) to implement
QueryPerformanceCounter.
2001-02-13 20:20:27 +00:00
Josh DuBois 4b1eb5171c Defined architecture-specific macros for ppc. 2001-02-13 01:50:38 +00:00
Francois Gouget e19c60ab25 Add missing definitions required by the Control Spy examples. 2001-02-12 19:39:58 +00:00
Jon Griffiths 935677ab04 Implement LHashValOfNameSysA for 4 LCIDs, fix prototype. 2001-02-12 19:33:42 +00:00
Francois Gouget 1f5365ab82 Declare RICHEDIT_CLASS20W using a WCHAR array. 2001-02-12 19:17:46 +00:00
Chris Morgan d62dd82efb Fix ListView_GetItemRect() macro.
Fix use of ListView_GetItemRect() macro in listview control.
Add some documentation to LISTVIEW_GetItemRect().
2001-02-12 03:46:00 +00:00
James Abbatiello 45edb2fcb3 Fix a few compiler warnings. 2001-02-12 03:42:58 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Jon Griffiths be98c7b1b3 Use extern "C" for Winelib C++ apps. 2001-02-12 03:38:46 +00:00
Francois Gouget 40774c3c91 Change the callback declarations to a safer format. 2001-02-12 01:29:08 +00:00
Huw D M Davies d2b850e8aa Implement Set/GetPrinterData[Ex].
Remove ordinals from winspool.drv.spec .
2001-02-12 01:26:47 +00:00
Guy L. Albertelli e13633b9e5 - Fix typo in previous change.
- Add structures for CBEN_INSERTITEM notify message.
2001-02-12 01:16:38 +00:00
Ulrich Weigand 52e891d5ec Synchronize access to MESSAGEQUEUE members. 2001-01-29 00:33:35 +00:00
Alexandre Julliard e939eae00b Made exception_event_request non-blocking, and added
get_exception_status to retrieve the exception result returned by the
debugger.
2001-01-26 20:45:41 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Alexandre Julliard e9936d96e1 Changed wait_process and wait_debug_event requests to never block;
waiting is always done through WaitForSingleObject().
2001-01-26 00:22:26 +00:00
Dmitry Timoshkov 06e735d2ec Replace 16-bit calls in DefWindowProc by 32-bit, preferring unicode
API calls.
2001-01-26 00:19:33 +00:00
Patrik Stridvall d5f824b482 Fixed some issues found by winapi_check. 2001-01-25 22:23:08 +00:00
Alexandre Julliard 803dbb6f00 Removed non-standard OBM_RADIOCHECK bitmap. 2001-01-24 19:48:39 +00:00
Eric Kohl 08936ff97a Partial implementation of world transform support. 2001-01-24 19:38:11 +00:00
Francois Gouget f12dbd0f08 Added various definitions (mostly macros).
Fixed typo in the HDN_{BEGIN,END}DRAG macros.
Added a pointer type for IMAGEINFO.
Fixed the return type of TreeView_{SetToolTips,GetToolTips}.
Even macros must come in A/W and neutral form (see the ListView_ series).
Fixed typo in MonthCal_SetColor.
2001-01-22 19:26:07 +00:00
Francois Gouget 27e388ffdd Added CHARRANGE. 2001-01-22 19:25:27 +00:00
Francois Gouget a0e61ec518 Added PSN_GETOBJECT. 2001-01-22 19:25:05 +00:00
Josh DuBois a57eb65548 Changed VarCyFromI1 to take a signed char. 2001-01-22 19:23:54 +00:00
Jon Griffiths c968ed1542 Fixed Unicode strings. 2001-01-22 02:18:27 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Jon Griffiths 7a6bad8f10 - Fix a typo in TBSAVEPARAMS A/W declaration.
- Use 16 bit Unicode constants for wc strings.
- Make some string constants available as Unicode.
2001-01-22 02:13:58 +00:00
Guy L. Albertelli 1410bfe050 Added NMCBEENDEDIT{W|A} structures and flags. 2001-01-21 21:10:29 +00:00
Francois Gouget ff1d7282e4 Added missing pointer type declarations (usually Pxxx). 2001-01-21 21:09:22 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Marcus Meissner 74f2b4b2ae Added configure check for old linux/input.h. 2001-01-19 21:09:07 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Francois Gouget e1c09e2c72 Added 3 missing FS_xxx macros. 2001-01-18 20:28:56 +00:00
Josh DuBois 46fb7e0057 Make some noise in a few cases where the X11drv doesn't load, but used
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard 598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
James Juran c85144b0d9 Added some stubs needed for IE 5.5 setup. 2001-01-17 20:17:46 +00:00
Alexandre Julliard ee21c443c6 Replaced X11DRV_CritSection references by wine_tsx11_(un)lock. 2001-01-15 22:31:24 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Alexandre Julliard f7f1defb4f Release 20010112. 2001-01-13 02:43:24 +00:00
Stefan Leichter 73db900aae Implemented EnumProtocolA/W. 2001-01-12 23:15:54 +00:00
Andreas Mohr a7ca2ba777 NetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll. 2001-01-12 23:07:11 +00:00
Alexandre Julliard a5ed3b19eb Removed obsolete get_req_buffer() function. 2001-01-12 19:58:52 +00:00
John R. Sheets bc80a3b4c7 Implemented stubs for IWebBrowser in shdocvw.dll. 2001-01-11 22:32:44 +00:00
John R. Sheets 2dc7a4379e Correct some cut & paste typos. 2001-01-11 20:21:15 +00:00
Ulrich Weigand 15f96804c4 Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).
2001-01-11 00:54:21 +00:00
Ulrich Weigand 45d4f295d5 Work around problems on Solaris if config.h is not included. 2001-01-11 00:53:07 +00:00
Alexandre Julliard ca43a641b7 Removed all traces of the --config option. 2001-01-10 23:56:59 +00:00
Eric Pouech 8582b28749 For the Global*Ptr* set of macros, replace the 16bit version with
their 32 bit equiv.
2001-01-10 22:42:35 +00:00
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00
Mike McCormack c6316bc4ac Implemented HasOverlappedCompleted macro. 2001-01-07 21:45:18 +00:00
Alexandre Julliard 105b0f4e64 Use the exe name and file handle we got from the server also when
starting Win16 or DOS programs, to avoid depending on the contents of
the command-line.
2001-01-06 01:55:49 +00:00
Alexandre Julliard 2362380b64 Added separate queue for "system" APCs that get called even when the
thread is not in an alertable state.
Specify the select_request timeout as absolute value so that we can
restart the request when interrupted.
2001-01-06 01:48:51 +00:00
Marcus Meissner 268b5555ac Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).
2001-01-06 00:35:37 +00:00
Alexandre Julliard ad29b90d08 Send the exe file handle in init_process_done request. 2001-01-05 22:24:15 +00:00
Huw D M Davies f6c7222fce Implemented a few Url* functions. 2001-01-05 22:22:57 +00:00
Alexandre Julliard 8081e5a1e5 Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
François Gouget 980eeecf99 I triple checked but yes, CHOOSECOLOR.hInstance is an HWND... 2001-01-05 03:45:40 +00:00
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
Alexandre Julliard d6c0f9f784 Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
  asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces
2001-01-04 22:44:55 +00:00
Eric Pouech 28b8ac8343 Added a few missing parts. 2001-01-04 20:58:05 +00:00
Eric Pouech ad250aac34 Now using manifest constant instead of raw values for all the
DRV_QUERY??? values.
2001-01-04 19:53:51 +00:00
François Gouget f53b0e89e4 Moved the function pointer types to their rightful headers.
The definition of the function pointer types must be based on STRICT.
2001-01-04 19:32:22 +00:00
Jon Griffiths d94fc2216d Added InitializeCriticalSectionAndSpinCount prototype. 2001-01-03 21:42:07 +00:00
François Gouget d6515df871 Convert HDESK to STRICT. 2001-01-03 21:39:33 +00:00
Ove Kaaven c90fb25c68 Turn on detectable autorepeat if the X Keyboard Extension is
detected.
2001-01-02 22:39:14 +00:00
François Gouget 6048a97968 Moved HMETAFILEPICT to wtypes.h. Note, HMETAFILEPICT is always a
'void*' unlike regular handles.
2001-01-02 22:31:07 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00
François Gouget 504973de49 Should include cguid.h. 2001-01-02 20:55:40 +00:00
François Gouget a4aeb2a165 Added two error codes: E_DRAW and DATA_E_FORMATETC. 2001-01-02 20:53:35 +00:00
François Gouget 29625ff564 SC_HANDLE is a HANDLE, not a 'DECLARE_HANDLE'
SERVICE_STATUS_HANDLE is a DWORD
2001-01-02 20:17:15 +00:00
François Gouget 59d0bdb89f Reordered the definitions according to their value.
Inserted the *_S_* macros right before the corresponding *_E_* block
Reindented the values.
Removed the duplicate set of E_xxx macros since they are only used on
non WIN32 platforms.
Uncommented the CO_E_INIT_ set of macros.
Removed some duplicate macro definitions and fixed various typos.
Added the definitions needed by the MFC.
2001-01-02 20:08:40 +00:00
Eric Pouech 9a37e505ed Fixed evilish cut and paste. 2000-12-29 17:39:52 +00:00