Commit Graph

2859 Commits

Author SHA1 Message Date
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