Commit Graph

3089 Commits

Author SHA1 Message Date
Dimitrie O. Paun 695c2bbde6 Define the (old name) struct stat, it is used by programs using the
old names.
2003-01-13 18:31:53 +00:00
Dimitrie O. Paun df9537eaef Use inline functions instead of macros to avoid problems in C++.
Inline functions respect scope, whereas macros don't.
Define umask in sys/stat.h, and mode_t in sys/types.h.
2003-01-11 22:49:54 +00:00
Dimitrie O. Paun 3fd4087dde Define qsort and bsearch in stdlib.h. 2003-01-11 20:54:19 +00:00
Dimitrie O. Paun 4d28cc880d Add dirent.h header for Unix/mingw compatibility. 2003-01-11 20:54:06 +00:00
Dimitrie O. Paun 651f32fb50 Add unistd.h files for mingw/Unix compatibility. 2003-01-10 01:47:48 +00:00
Dmitry Timoshkov 682698a498 Change types of WPARAM, LPARAM and LRESULT according to MS SDK definitions. 2003-01-10 01:45:13 +00:00
Marcus Meissner 728bedcfc6 Added GIF decompressor support to OLE Automation IPictures. 2003-01-09 06:04:33 +00:00
Eric Pouech fa8b85aa5c Set the edition mode as a specific attribute, not an extension of the
console mode.
2003-01-09 06:01:32 +00:00
Alexandre Julliard 8004dec6c9 Regenerated with latest widl. 2003-01-09 01:10:14 +00:00
Alexandre Julliard d1d5d4265e Added a few rules to rebuild idl headers. 2003-01-09 01:09:16 +00:00
Eric Pouech 2359b57574 - no longer depend on toolhelp definitions for generating snapshots
- added get_dll_info request
2003-01-09 00:01:28 +00:00
Eric Pouech 4b708a3ffd Added the missing APIs. 2003-01-08 23:59:31 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Alexandre Julliard 8ba666f3a7 Store the keyboard state in the thread input structure on the server
side.
2003-01-08 19:56:31 +00:00
Alexandre Julliard 242e395bbc Store the hardware messages in the thread input structure, not in the
thread queue. Get rid of the cooked messages queue.
2003-01-08 00:27:58 +00:00
Dimitrie O. Paun eb585a9685 Use the standard symbol names instead of the msvcrt specific ones. 2003-01-07 23:09:54 +00:00
Francois Gouget 3efacb0acf Remove extra #include directives from winspool.h. 2003-01-07 23:09:22 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard 52395b0eb9 Fixed some issues caused by the new oaidl.h. 2003-01-05 20:32:30 +00:00
Ove Kaaven 6463e3823a Wrote a new oaidl.idl to replace include/wine/obj_oleaut.h and
include/wine/obj_errorinfo.h.
2003-01-05 20:31:51 +00:00
Ove Kaaven a4a8472f40 Include oaidl.h instead of wine/obj_oleaut.h. 2003-01-05 01:06:30 +00:00
Ove Kaaven e057a7a08d Temporarily include objbase.h from oleidl.h.
Removed inclusion of obj_errorinfo.h.
2003-01-05 01:06:19 +00:00
Ove Kaaven 008f4ce91a Moved a couple of definitions from include/wine/obj_oleaut.h to
include/oleauto.h.
2003-01-05 01:05:45 +00:00
Marcus Meissner 7e89b7a62f Added several missing K32WOW* prototypes. 2003-01-05 01:03:41 +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
Dimitrie O. Paun 1f722892d8 Enable nameless structures in C++ for gcc >= 3.x (discovery and
testing done by Dan Kegel).
2003-01-04 00:17:11 +00:00
Francois Gouget 63d228a1e2 Added TIME_KILL_SYNCHRONOUS. 2003-01-03 22:32:14 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Lionel Ulmer 5f87d778aa - some additionnal flags logged
- fixes in the vertex buffer thunking + optimized flag support
2003-01-03 19:10:48 +00:00
Alexandre Julliard 78ff6763ed Added wine_dbg_sprintf function that allocates a temporary buffer in
the per-thread strings area.
Added inline functions to format POINT, SIZE and RECT structures.
2003-01-03 03:12:58 +00:00
Dimitrie O. Paun dfa6b127c2 SHGetMalloc() returns a HRESULT, not a DWORD. 2003-01-03 03:07:21 +00:00
Dimitrie O. Paun 36d0e5b73a Define NULL if it's not defined already. 2003-01-03 03:07:06 +00:00
Marcus Meissner 8ff278d25e Implemented SafeArray{SetIID,GetIID,SetRecordInfo,GetRecordInfo}.
Added support for FADF_HAVEIID, FADF_RECORD, FADF_HAVEVARTYPE.
Implemented SafeArrayAllocDescriptorEx and SafeArrayGetVarType
correctly.
Fixed second argument of SafeArrayCopyData (it is just SAFEARRAY*).
Changed allocation to include 16 bytes before the SAFEARRAY (to store
IID/VARTYPE/IRecordInfo*).
VARTYPE -> size array was not indexed correctly.
Added lots of testcases for most functionality.
Added IRecordInfo interface definition.
2003-01-02 23:13:56 +00:00
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Raphael Junqueira 559b10699f - integration with DrawPrimitive
- remove non-esthetic c++ comments into c comments block ;)
- more more debug
- indent, cleanups
- trying to use DIFFUSE and SPECULAR for vertex shader
- many fixes
- integration with Jason's texture patch
2003-01-02 17:59:01 +00:00
Francois Gouget 88a5cb569b Add support for WINETEST_INTERACTIVE. If set then tests can perform
additional explicitly interactive tests.
Modify the winmm test to use WINETEST_INTERACTIVE.
2003-01-02 17:52:05 +00:00
Dimitrie O. Paun 48be9c6e87 Fix definitions for Uuid{To,From}String, RpcStringFree. 2002-12-24 00:26:55 +00:00
Dimitrie O. Paun e25ab1fa7d Fix the defintion of {,LP}NM_TREEVIEW{A,W}. 2002-12-24 00:26:41 +00:00
Francois Gouget 8913aadd33 Add a couple missing macros. 2002-12-24 00:26:16 +00:00
Alexandre Julliard 3c25c8e933 Get rid of ole.h. 2002-12-23 01:46:34 +00:00
Ove Kaaven 2a8bd72ffd Merge the rest of include/wine/obj_base.h into include/objbase.h. 2002-12-23 01:41:51 +00:00
Alexandre Julliard d2c034a8dc Removed some remaining references to wine/obj_base.h. 2002-12-23 01:39:35 +00:00
Ove Kaaven 0087da5946 Where ICOM macros are needed, include objbase.h. 2002-12-23 01:33:50 +00:00
Dimitrie O. Paun e42b3ee4bb Added missing GetActiveObject declaration. 2002-12-23 01:33:33 +00:00
Dimitrie O. Paun 2fcd2c7c15 Added missing LPDROPFILES definition. 2002-12-23 01:33:16 +00:00
Dimitrie O. Paun d985e66f8a DEVMODE structure uses short not SHORT for its fields. 2002-12-23 01:33:00 +00:00
Dimitrie O. Paun 27a8ff25e0 Added missing GetWinMetaFileBits() declaration. 2002-12-19 22:15:53 +00:00
Ove Kaaven 9a580d9ad9 Wrote a new objidl.idl to replace a number of include/wine/obj_*.h
files.
2002-12-19 22:15:24 +00:00
Ove Kaaven 1cd02fa4d8 Moved a couple of types from include/wine/obj_*.h to
include/wtypes.idl.
2002-12-19 21:13:58 +00:00
Dimitrie O. Paun 900ee973a0 Fix defines for LV_ITEM, LV_DISPINFO, and LV_FINDINFO. 2002-12-19 21:13:15 +00:00
Dimitrie O. Paun a5246c68c3 Add definitions for N[W]PSTR.
Add a bunch of SE_* definitions.
2002-12-19 21:12:35 +00:00
Chris Morgan af807287ca GetDateFormat() and GetTimeFormat() should check the validity of the
time/date structure it is processing.
Add comments to describe flags behavior.
Add support for TIME_FORCE24HOURFORMAT, TIME_NOMINUTESORSECONDS,
TIME_NOSECONDS and TIME_NOTIMEMARKER.
Add check in GetDateFormatW() for invalid flag combinations.
Added some missing DATE_* defines to winnls.h.
Behavior verified against NT4.0.
2002-12-19 21:11:54 +00:00
Alexandre Julliard afba1593c1 Added accctrl.h header. 2002-12-19 04:15:02 +00:00
Dimitrie O. Paun 221ffc5e9c UpdateWindow returns a BOOLean. 2002-12-19 04:14:19 +00:00
Alexandre Julliard 0ca46dc338 LPCONVCONTEXT should be PCONVCONTEXT (spotted by Dimitrie O. Paun).
Same for LPHSZPAIR and LPCONVINFO.
2002-12-19 01:18:49 +00:00
Ove Kaaven a93a5e9ce0 Moved some definitions from include/wine/obj_moniker.h to
dlls/ole32/moniker.h.
2002-12-19 01:09:40 +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
Ove Kaaven 158063fecb Unquoted some 16-bit types, so the IDL compiler can use them. 2002-12-18 20:50:19 +00:00
Dimitrie O. Paun fcb40e8f63 Map strcasecmp to _stricmp. 2002-12-18 20:49:44 +00:00
Ove Kaaven 99c8526324 Moved COM API prototypes to objbase.h, from wine/obj_*.h. 2002-12-18 20:49:16 +00:00
Alexandre Julliard 3f5ff2fba2 Avoid including other headers from the msvcrt headers, duplicate some
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Raphael Junqueira 9fcfd2c3b5 Added some necessary definitions for D3D8 Vertex and Pixel shader
support.
2002-12-18 05:04:43 +00:00
Alexandre Julliard a16ed909c5 Implemented RtlTimeToElapsedTimeFields. 2002-12-18 02:31:33 +00:00
Ove Kaaven 01bdccbc5d Moved UUID type to rpcdce.h, as in the MS RPC headers.
Removed redundant prototype.
2002-12-18 02:21:38 +00:00
Alexandre Julliard 9e8e5ff71d Implemented the Fiber* functions (with the help of Huw Davies). 2002-12-17 21:06:25 +00:00
Alexandre Julliard ea118ecb50 Fix the type of the This pointer in the vtbl functions inherited from
the base class.
2002-12-17 21:05:16 +00:00
Patrik Stridvall 5caddc7863 Added stubs for WINTAB{,32}.DLL (used by many important drawing
applications for supporting tablets).
2002-12-17 01:49:16 +00:00
Tony Lambregts 2ff48996a0 Direct the output of the tests to stdout so that Win98 can redirect
the output to a file.
2002-12-17 01:47:04 +00:00
Raphael Junqueira e31ae92630 - some D3D8 fixes
- beginning of shaders support (Vertex and Pixel Shaders 1.1 on
  DirectX8)
- beginning of D3DX8 support the D3D8 utility API (very basic, only
  the core header)
2002-12-17 01:15:15 +00:00
Ove Kaaven 0df7b24b32 Wrote a Wine-compatible unknwn.idl, moving the IUnknown definition
from wine/obj_base.h to the generated unknwn.h.
2002-12-16 23:49:30 +00:00
Andreas Mohr 866d79c11f - actually use PLUID
- initialize the outbound lpLuid variable with bogus values
2002-12-16 23:48:04 +00:00
Ove Kaaven 998236b7cf Output raw ICOM-less C/C++ interface definitions by default. Added new
-b and -B command-line options for compatibility with ICOM macros.
2002-12-15 03:01:20 +00:00
Francois Gouget 8b97a3a391 In the latest sdk the {waveOut,midiOut}{Get,Set}Volume functions take
a handle as the first parameter.
2002-12-15 02:59:50 +00:00
Brad Campbell 5ac2a538c6 Added additional test for gcvt as uClibc appears to have this and not
ecvt.
2002-12-13 23:30:54 +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
Chris Morgan b3123fac25 Stub NetGetDCName(). Add in the rest of the NERR_* defines. 2002-12-13 20:28:03 +00:00
Chris Morgan 4691b18520 Add support for Jack audio server. 2002-12-13 02:26:18 +00:00
Francois Gouget 8e84fedab6 Updated the #include directives to match the latest Windows SDK and to
include our new headers.
2002-12-13 00:32:56 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard b42dc56fce Made stdcall decoration in .def files the default, and added -k option
to switch it off.
2002-12-12 04:06:28 +00:00
György 'Nog' Jeney 4d6ba25d4b - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
- Use new time functions to reimplement FileTimeToLocalTime and
  LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Francois Gouget 725b8b7fcf When reporting a test failure, only report the file name, not the full
path.
Merge winetest_set_trace_location with winetest_set_ok_location.
2002-12-11 00:17:42 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Vincent Béron c8e9cd9656 Add a definition for STRICT. 2002-12-10 20:02:17 +00:00
Jeff Smith 9bd21c4a6c Added definitions for REG_QWORD and REG_QWORD_LITTLE_ENDIAN. 2002-12-10 19:59:33 +00:00
Jukka Heinonen be1c6deb18 Move int21 country information handling to winedos.
Improve country information handling.
Move collate table to upper memory.
2002-12-10 19:58:39 +00:00
Dimitrie O. Paun 647c1a33c8 Gracefully degrade to getopt if getopt_long does not exist. 2002-12-10 19:16:24 +00:00
Rolf Kalbermatter 58c04dafae Change the return value for ExtractIconEx from HICON to UINT and make
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter 2dcb751aa7 - Modify ICO_ExtractIconExW to:
return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx
    accept and fill in the icon identifier array correctly if provided
    allow to retrieve both small and large icons together.
- Simplify PrivateExtraxtIcons
- Modify PrivateExtractIconExW to:
   use compatible signature to ExtractIconEx in shell32 which it really is directly
     as tested on W2K by calling both functions with the same parameters
   directly call internal extraction function
   fix error when requesting 1 icon for both sizes
2002-12-10 19:09:45 +00:00
Steven Edwards 31e4629085 Alpha porting fixes. 2002-12-10 19:04:45 +00:00
Rolf Kalbermatter 418ca6d1b0 Add SHDefExtractIcon{AW} function. 2002-12-07 23:49:24 +00:00
Vincent Béron 8e30fde2b9 Fills the name of the arguments of the COM methods, else MSVC doesn't
like them.
2002-12-07 23:47:40 +00:00
Jukka Heinonen 1cfc850b2c Move int08 stub and LOL to upper memory.
Move simple int21 functions to winedos.
2002-12-07 23:46:41 +00:00
Francois Gouget 3db0008552 Define PSH_WIZARD97 (problem reported by jaymz@free.fr). 2002-12-06 23:19:54 +00:00
Ove Kaaven 41dfa0590f Moved COM API prototypes in include/wine/obj_base.h to
include/objbase.h.
2002-12-06 19:49:56 +00:00
Dimitrie O. Paun 4d5f291f24 Install DDK headers as well. 2002-12-06 19:45:18 +00:00
Alexandre Julliard dc818a529d Added rpc.h include to fix tests compilation. 2002-12-05 22:11:43 +00:00
Ove Kaaven 1f5315c80f Make sure that no files except unknwn.h include wine/obj_base.h
directly.
2002-12-05 20:33:07 +00:00
Alberto Massari adae4350d2 - Moved GetUrlCacheEntryInfoA and CommitUrlCacheEntryA to urlcache.c.
- Added stub implementation of GetUrlCacheEntryInfoExW.
 - Implemented InternetQueryOptionW, InternetCombineUrl[A|W].
 - InternetSetOptionW prints FIXMEs with more informations.
 - INTERNET_SetLastError was crashing if called after the thread
   local storage area had already been deleted (it happens if you
   close Internet Explorer while the download is still in progress).
2002-12-05 19:54:40 +00:00
Rolf Kalbermatter 90a78f74b0 Add prototypes for IExtractIconW interface. 2002-12-05 19:13:11 +00:00
Francois Gouget 6ae2a1f16f Added EDEADLOCK. 2002-12-05 18:59:53 +00:00
Alexandre Julliard ed2f8fc801 Added rules for compiling IDL files. 2002-12-03 23:36:05 +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
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
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 a53a988171 Modify PrivateExtractIcons{AW} to match better current MDSN
documentation.
2002-12-03 21:35:27 +00:00
Dimitrie O. Paun caa603f90f Change header install location as such:
${prefix}/include/wine/windows  -- standard Windows headers
  ${prefix}/include/wine/msvcrt   -- MS Visual C Runtime library
  ${prefix}/include/wine          -- Wine specific headers
2002-12-03 21:34:44 +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 7b7f198786 Move DPMI segments to winedos. 2002-12-02 21:39:58 +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
Patrik Stridvall 7bff19ea6e Added FIXME:s in the stubs. 2002-12-02 19:00:59 +00:00
Ove Kaaven 0e32a2bf85 Protect PALETTEENTRY and LOGPALETTE with #ifndefs. 2002-12-02 18:58:46 +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
Dimitrie O. Paun 2b47a2b8b4 Add a way to tell msvcrt to define wchar_t. 2002-11-30 19:14:23 +00:00
Rolf Kalbermatter e2b06d2a10 Added stub implementation with correct prototypes for
ExtractAssociatedIconExA/W.
2002-11-30 02:22:24 +00:00
Francois Gouget 0327e34577 Added declaration for SignalObjectAndWait. 2002-11-30 01:52:54 +00:00
Francois Gouget 79027d16e7 Added constants for _set_error_mode(). 2002-11-30 01:52:30 +00:00
Christian Costa 8ab84e240d Replace LPDDSURFACEDESC by LPDDSURFACEDESC2 in IDirectDrawSurface4
methods declaration.
2002-11-30 01:51:21 +00:00
Francois Gouget 10c5d27741 Add the 48 and 96kHz WAVE_FORMAT constants. 2002-11-30 01:50:06 +00:00
Ove Kaaven 75e9c468bd Added missing union names for some encapsulated unions. 2002-11-30 01:49:20 +00:00
Steve Lustbader e45b1e5cd8 Provide stubs for DnsHostnameToComputerNameA/W. 2002-11-27 21:38:06 +00:00
Jukka Heinonen 3546290285 Moved handlers for int25 and int26 to winedos. 2002-11-27 20:18:50 +00:00
Francois Gouget 6a6eae8695 Added SwitchToThread. 2002-11-27 20:15:11 +00:00
Christian Costa ae24769927 Add some DDRAW and D3D definitions. 2002-11-27 20:12:10 +00:00
Patrik Stridvall 6caeb721e3 Fixed pthreads on FreeBSD (based on patch by Alexandre Julliard). 2002-11-25 21:12:26 +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
Mike McCormack 11f4b44451 Implemented registry change notifications. 2002-11-25 02:47:32 +00:00
Ryan Cumming 24f4eced42 Partially implement GetThreadTimes. 2002-11-25 01:33:38 +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
Jukka Heinonen 98058eb14d Moved handlers for int11, int15 and int5c to winedos. 2002-11-24 22:34:04 +00:00
Alexandre Julliard 11f361a29c Removed no longer needed PROFILE_LoadWineIni(). 2002-11-23 02:24:53 +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 b31af31cbf Removed the WINE_NO_STRICT support. 2002-11-23 01:09:57 +00:00
Dimitrie O. Paun fb82973a71 Allow apps to define __int{8,16,32,64} on the command line. 2002-11-23 01:03:40 +00:00
Alexandre Julliard a8a422f70d Fixed more -DSTRICT issues. 2002-11-22 20:43:01 +00:00
Marcus Meissner 5163752e8e Handle the COORD <-> DWORD conversion the canonical way. 2002-11-21 23:45:31 +00:00
Dimitrie O. Paun ce1a430547 Add definition for WSAEDISCON. 2002-11-21 23:44:19 +00:00
Martin Wilck 2b529f1778 Fixed circular include sequence winsock.h -> windows.h -> winsock2.h
-> winsock.h.
2002-11-21 21:48:53 +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 14e68ba7fe Added support for system-wide hooks. 2002-11-20 19:54:32 +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
Patrik Stridvall d1447faaec Added stub implementation of cabinet.dll. 2002-11-19 00:47:12 +00:00
Robert Shearman 080200a58b Add some RichEdit 2.0/3.0 definitions. 2002-11-19 00:44:05 +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
Jukka Heinonen 02e177759d Removed obsolete INT_Int31Handler. 2002-11-18 22:53:38 +00:00
Marcus Meissner 50dff3b407 Fixed strict aliasing problem in
__wine_GetLargestConsoleWindowSize_wrapper.
2002-11-18 19:48:56 +00:00
Patrik Stridvall f9128d79d2 No version of GNU C++ (unlike GNU C) supports unnamed structs. 2002-11-18 19:46:34 +00:00
Dimitrie O. Paun b4488419be Support commctrl message-helper macros in C++. 2002-11-18 19:45:47 +00:00
Mike McCormack 997e235990 Add some definitions for structures used by NtQueryFileInfo. 2002-11-18 19:44:17 +00:00
Alberto Massari 1e5d816a0d - Added some definitions.
- Fixed signature of GetUrlCacheEntryInfoExW.
2002-11-18 19:43:10 +00:00
Lionel Ulmer 56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +00:00
Ryan Cumming 4cda16e03b Implemented GetFileSizeEx (based on a patch by Steve Lustbader). 2002-11-15 04:12:10 +00:00
Jukka Heinonen d41581dbde DeviceIoControl now calls winedos interrupt handlers.
Fixed RawModeSwitch.
2002-11-15 01:35:52 +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
Huw Davies a4c3ed02ee Implemented Escapes *_PATH and POSTSCRIPT_IGNORE. 2002-11-15 00:02:13 +00:00
Huw Davies 94705862d6 Client side render fonts for XServers without the Render extension
using X11 core requests.
2002-11-14 22:31:34 +00:00
Alexandre Julliard 3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Ulrich Czekalla fbf98737d2 - Add support for multiple image lists.
- Add TBN_INITCUSTOMIZE notification.
- Correctly populate TBN_QUERYDELETE.
- Support TBN_GETBUTTONINFOW.
2002-11-13 21:21:03 +00:00
Mike McCormack 947a74f40d Add stubs and declarations for WSAInstallServiceClassA/W. 2002-11-13 19:42:23 +00:00
Alexandre Julliard b1c3a89ade Moved rpc.h inclusion in widl-generated file so that tests compile. 2002-11-13 04:18:38 +00:00
Patrik Stridvall c99c022a78 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-13 04:13:42 +00:00
Ove Kaaven 80d8074cae Wrote a Wine-compatible wtypes.idl, and generated wtypes.h from it. 2002-11-13 00:22:16 +00:00
Marcus Meissner f061f76704 Do not link against -lcups directly, but dynamically load it if
present (just like freetype etc.)
2002-11-12 02:22:24 +00:00
Patrik Stridvall ced69a9cad Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-12 01:05:00 +00:00
Ove Kaaven d8d2805c9a Moved IMalloc definition from obj_base.h to obj_misc.h. 2002-11-08 18:54:44 +00:00
Juraj Hercek 3588ede1e0 Added WINELIB_NAME_AW for LPCCINFO. 2002-11-08 18:54:26 +00:00
Marcus Meissner d0a58e218a New structures: RASIPADDR, RASDEVINFO, RASENTRY.
New stubs: RasSetEntryProperties.
RasEnumDevicesA enhanced.
2002-11-08 18:53:19 +00:00
Ove Kaaven a2156ead18 Add ICOM_DEFINE1 macro to define a COM interface without a base
class.
Use it to define IUnknown.
2002-11-06 19:56:59 +00:00
Greg Turner ea4913f8f9 - noop redefinition of SPI_[GET/SET]MENUUNDERLINES
- define and fixme for
  SPI_[GET/SET][SELECTIONFADE/DROPSHADOW/KEYBOARDCUES]
2002-11-04 22:47:59 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Ryan Cumming 7e18d733a3 Added missing CSTR_ definitions. 2002-11-04 22:39:45 +00:00
Greg Turner 2339b83ef4 Fix some problems found by winapi_check. 2002-11-01 01:47:43 +00:00
Ove Kaaven 582b744e43 Some RPC format characters from MS documentation. 2002-11-01 01:46:23 +00:00
Greg Turner eaa53a05b0 Remove #ifdef WINNT conditionals; just use the NT definitions. 2002-10-31 23:36:07 +00:00
Greg Turner 3eafbfcd56 - Fix offset bug in the conformant string unmarshall routine.
- Fix discrepancy between headers and implementation of
  I_RpcBindingSetAsync when compiling under WINNT.
- Eliminate race conditions in the relationship between "listen_count"
  and "std_listen" in rpc_server.h.
- Code-stubs for RpcServerUnregisterIf, RpcServerUnregisterIfEx.
- Attempt to implement RpcMgmtStopServerListening (definitely not
  happy just yet).
- RpcServerUnregisterIfEx wasn't xp-sepcific after all; this leads me to
  suspect there are more such mistakes in the spec-file comments, but I
  haven't looked into it or fixed them yet (coming soon).
- Cleanups, trace-enhancements, etc.
2002-10-31 22:45:12 +00:00
Greg Turner 733b88bb60 - Cast NDR_* #defines to (unsigned long) instead of (UINT32) like MS
headers.
- Create __RPC_MAC__ and __RPC_WIN64__ conditional #defines.
- Correct NDR_LOCAL_DATA_REPRESENTATION for Mac's.
- New NDR_LOCAL_IS_BIG_ENDIAN conditional #define.
- #define TARGET_IS_NT50_OR_LATER.
2002-10-31 22:04:33 +00:00
Steven Edwards 45e56818f7 Mingw porting fix. 2002-10-31 03:41:56 +00:00
Alexandre Julliard 7a1cb65cb9 Moved 16-bit definitions out of mmddk.h into mmsystem16.h. 2002-10-31 02:23:43 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Eric Pouech ac5de27d1c winmm/mmsystem now compiles with -DSTRICT. 2002-10-31 01:02:41 +00:00
Eric Pouech 7656b1457a Split between 16 / 32 bit code. 2002-10-31 00:53:57 +00:00
Michael Stefaniuc ec5612ee1d Some more fixes for compiling the user dll with -DSTRICT. 2002-10-30 23:45:38 +00:00
Alexandre Julliard 0cf753385b Moved the test routines from wtmain.c into wine/test.h so that they
can be compiled separately with different flags for each dll.
2002-10-30 20:36:21 +00:00
Martin Wilck 9fc8b115c2 - Define SOCKET as UINT_PTR for Win64 (thanks to P. Stridvall).
- Make winsock compile without WINE_NO_STRICT.
2002-10-30 20:26:32 +00:00
Jukka Heinonen 6f6abac4f1 Modify winedos interrupt handlers so that they work with PM
interrupts.
Add forwarding functions for handlers in other DLLs.
Make DOSVM_GetBuiltinHandler use static table instead of
GetProcAddress.
2002-10-29 23:09:30 +00:00
Patrik Stridvall de41ddcab9 Added {ok,trace}_ macros to take explicit file and line number. 2002-10-29 23:07:58 +00:00
Alexandre Julliard 0b1a367b78 Removed a couple of no longer used queue functions. 2002-10-29 21:32:37 +00:00
Patrik Stridvall 1e22e3b3ba Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-29 21:23:33 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Lionel Ulmer bdb44555a3 Raise an exception if any Wine or Winelib code does an assert. 2002-10-28 23:56:58 +00:00
Greg Turner a215f6b21a - Clean up and add some comments.
- Add NDR Data representation constants.
- Propagate DataRepresentation into and out of packet headers.
- Implement NdrServerInitializeNew
2002-10-28 21:14:16 +00:00
Greg Turner fc55077e52 - Clean up and enhance some traces.
- Stubs for NdrConvert, NdrConvert2, and NdrServerInitializeNew.
2002-10-28 20:07:01 +00:00
Alexandre Julliard 9b5c3f939d Made the ntdll registry functions use HKEY instead of HANDLE. 2002-10-25 19:14:29 +00:00
Greg Turner 4a37d84a9d - Make explicit some missing include dependencies.
- Implement NdrGetBuffer, NdrFreeBuffer, NdrConformantStringBufferSize
  and NdrConformantStringMarshall.
- Define the RPC_FC_C_CSTRING constant.
- Perhaps I don't want those MIDL_*_FORMAT_STRING structs, after
  all. Removed.
- Add RPC todo list.
- MIDL_STUB_MESSAGE.uFlags aren't.
- Comment out the NdrClientCall2 mock-up since that stuff is in the
  process of being implemented and might cause problems.
2002-10-25 19:03:43 +00:00
Jason Edmeades 3f4d4dab65 Define the main directx8 entrypoint. 2002-10-25 03:51:00 +00:00
Alexandre Julliard 64e047fed3 Get rid of FILE_ATTRIBUTE_SYMLINK (based on a patch by Bill Medland). 2002-10-25 03:32:10 +00:00
Greg Turner e033578a58 Implemented NdrClientInitializeNew. 2002-10-23 23:36:53 +00:00
Jukka Heinonen eca6182749 Move interrupt emulation code from INSTR_EmulateInstruction to winedos
dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers
common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE)
is only called when DOS executable is started.
2002-10-23 22:24:10 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00
Alexandre Julliard da93e83b90 Avoid redefinition warning. 2002-10-23 20:19:48 +00:00
Patrik Stridvall 8b991b2798 Add pragma to eliminate MS C warnings. 2002-10-23 20:16:23 +00:00
Alexandre Julliard f871f2d528 Store thread id instead of queue handle in timer structure. 2002-10-23 18:56:34 +00:00
Alexandre Julliard d8bbcb2f23 Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Eric Pouech 56d80b4c65 Moved 16 bit digital structs to include/wine/mmsystem16.h. 2002-10-23 18:43:00 +00:00
Alexandre Julliard 26fd740d9c Avoid reference to glibc internal __libc_fork function. 2002-10-22 00:44:24 +00:00
Greg Turner 0e2bec0e70 - Use Ove-style macros for NdrConformantStringMarshall definition.
- Move NdrConformantStringMarshall to new ndr_marshall.c.
- Stubs for NdrConformantStringBufferSize,
  NdrConformantStringMemorySize, and NdrConformantStringUnmarshall.
2002-10-22 00:41:17 +00:00
Alexandre Julliard b1df392f02 Fixed the WINE_NO_STRICT #ifdefs to do the right thing if STRICT is
defined (spotted by Michael Stefaniuc).
2002-10-21 23:43:04 +00:00
Greg Turner c14e9ebc07 Fix return types of NdrConformantStringMarshall, NdrGetBuffer, and
NdrSendReceive.
2002-10-21 23:42:01 +00:00
Greg Turner b71535ebfd Stubs for RpcServerUseProtseqA, RpcServerUseProtseqW. 2002-10-21 23:41:35 +00:00
Michael Günnewig f6bcf23d6a Added macros for AVIFileClose and AVIStreamClose. 2002-10-21 23:39:20 +00:00
Dmitry Timoshkov 01e82a4fdc Convert MessageBox family functions to unicode. 2002-10-19 19:18:19 +00:00
Greg Turner ea46fffeff Patch cruft removal. 2002-10-19 19:17:37 +00:00
Greg Turner 1ecb22867f Super-crude implementation for NdrClientCall2.
Specs and headers for NdrClientInitializeNew,
NdrConformantStringMarshall, NdrGetBuffer, NdrFreeBuffer, and
NdrSendReceive.
2002-10-19 19:17:19 +00:00
Alexandre Julliard f3215eba4a Get/SetFastQueue16 should use HQUEUE16 handles. 2002-10-19 17:20:44 +00:00
Alexandre Julliard 6fa2ac693e Removed DECLARE_OLD_HANDLE. Fixed a few remaining warnings. 2002-10-19 17:20:02 +00:00
Malte Starostik 78a86e9feb Fixed IWebBrowser::Navigate() parameter type.
Added IWebBrowserApp and related typedefs.
2002-10-19 17:15:39 +00:00
Alexandre Julliard 7521a42ed3 Changed the USER_HEAP_* macros to use HANDLEs instead of HANDLE16s. 2002-10-19 00:55:34 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard 168284318b Added FIXMEs for metafile and fullhwnd handle conversions that aren't
supported properly yet.
2002-10-18 23:35:24 +00:00
Alexandre Julliard 0ccb9feadc Store the original GDI palette functions in pfnSelectPalette and
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Greg Turner 034e4df6e7 - (try to) implement RpcMgmtWaitServerListen
- remove duplicate RpcServerListen declaration in rpcdce.h
- some TRACEs
2002-10-18 03:56:56 +00:00
Alexandre Julliard 7aee90762a Merged wine_call_to_16_long and wine_call_to_16_short into a single
function.
2002-10-18 00:29:32 +00:00
Alexandre Julliard 9534d4f0fe Added wine_memcpy_unaligned function to avoid gcc memcpy
optimizations.
2002-10-18 00:27:38 +00:00
Michael Günnewig b26206dd8a - Add FIND_* constants.
- Add AVISAVECALLBACK declaration.
- Add declaration for some AVI functions.
- Add some AVI macros.
2002-10-18 00:25:19 +00:00
Alexandre Julliard 0ca051e555 Fixed wownt32.h to make it usable from inside Wine, and use it to
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Alexandre Julliard 11e3523949 Rewrote caret implementation to store the information in the server. 2002-10-17 01:24:33 +00:00
Dimitrie O. Paun 9a01be4caa Add/update the listview structures to version 6.0. 2002-10-17 01:19:45 +00:00
Greg Turner 686b845593 Use the msvc way to return a struct, fixing wierd problems. 2002-10-16 18:51:11 +00:00
Alexandre Julliard 618c18417b Remove no longer used PERQUEUEDATA structure and functions. 2002-10-12 01:25:15 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard 0b850f9f74 Reimplemented GetLastActivePopup to get the information from the
server.
2002-10-12 01:23:05 +00:00
Alexandre Julliard 5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Alexandre Julliard ab5063b217 Added server-side infrastructure for the thread input structure.
Reimplemented AttachThreadInput() and added GetGUIThreadInfo().
2002-10-11 18:50:15 +00:00
Michael Günnewig a26a2ca224 - Move the API into a new api.c file.
- Added IClassFactory implementation.
- Added IPersistFile implementation to the AVI-file handler.
2002-10-10 23:31:13 +00:00
Ove Kaaven 528d2c4f7f Added NdrProxyFreeBuffer, NdrProxyGetBuffer, NdrProxyInitialize,
NdrProxySendReceive, NdrStubGetBuffer, NdrStubInitialize.
2002-10-10 23:26:53 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Steve Lustbader c15b0a2515 Provide a stub for GetComboBoxInfo. 2002-10-10 21:17:12 +00:00
Ove Kaaven c3a78d4fbe Stubby NdrClientCall2 & some header changes. 2002-10-10 19:23:33 +00:00
Steve Lustbader cee34aa5fe Provide stub for SetupDiGetClassDevsW.
Fix return value of SetupDiGetClassDevsA.
2002-10-10 18:57:32 +00:00
Alexandre Julliard c2f3a6634c Avoid infinite SendMessage recursion, just like Windows does. 2002-10-09 20:36:15 +00:00
Jukka Heinonen d25e0399ba Add support for interrupts in 32-bit code.
Remove some unnecessary code from 16-bit interrupt emulation.
2002-10-08 00:35:03 +00:00
Steve Lustbader 5795143368 Provide stubs for Create/DeleteTimerQueueTimer. 2002-10-07 21:46:02 +00:00
Steve Lustbader 2fbd4a0118 Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage. 2002-10-07 18:27:06 +00:00