Commit Graph

3982 Commits

Author SHA1 Message Date
Hans Leidekker bed3842c9a Added check for fork() to fix the MinGW build. 2004-10-14 03:08:57 +00:00
Jason Edmeades db7a50582c - Add support (as far as was previously) for the VertexBuffer and
Resource classes in wined3d and use when called from d3d9.
- Reduce the header includes in all the d3d9 interface to one common
  set in the private header.
2004-10-14 00:32:04 +00:00
Rein Klazes 8cd05a00e3 Provide an 'A' version of appropriate functions. 2004-10-14 00:28:29 +00:00
Robert Shearman 5ec458fd41 Add declarations for GetClassLongPtr{A,W}, GCLP_* defines and user
object information defines.
2004-10-14 00:25:15 +00:00
Robert Shearman 6c50556e8b Fix function and structure field types so we are compatible with the
native dbghelp.
2004-10-11 21:00:17 +00:00
Robert Shearman 2050591370 Fix NtAllocateVirtualMemory declaration and fix users of the
function.
2004-10-11 20:59:06 +00:00
Martin Fuchs ace5f3c6ed Define pid_t and ssize_t if not already defined. 2004-10-11 20:53:50 +00:00
Alexandre Julliard 1da3b41093 Added forward declaration of struct timeval for futimes. 2004-10-11 20:22:06 +00:00
Alexandre Julliard de91a8dd0f Implemented NtYieldExecution. 2004-10-11 20:11:01 +00:00
Michael Jung 7213264d65 Added HMAC_INFO typedef. 2004-10-11 20:07:46 +00:00
Adam D. Moss 0fde2d1944 Define VER_SUITE_BLADE. 2004-10-11 19:52:10 +00:00
Jeremy White 08c0f691ce Made NtDelayExecution with a 0 timeout yield the CPU, as it is
supposed to.
2004-10-09 02:26:29 +00:00
Jacek Caban db506fcae8 Added IWebBrowse2 interface. 2004-10-08 21:01:56 +00:00
Jason Edmeades b9e2bedac1 Copy and tidy up the code from dx8 create device into wined3d. Call
from wined3d and d3d8, but short term only use the code for real from
d3d9.
2004-10-08 20:52:33 +00:00
Francois Gouget d921c5d493 Add some reason codes for ExitWindowsEx().
Also add EWX_FORCEIFHUNG.
2004-10-08 20:50:06 +00:00
Jacek Caban c396cdcc0a - Added doWinMain stub
- Fixed htmlhelp.h
2004-10-08 20:49:09 +00:00
Hans Leidekker 081b25071a Implement color profile handles.
Implement OpenColorProfile{A,W} and CloseColorProfile.
Implement GetColorDirectory{A,W} and InstallColorProfile{A,W}.
Implement UninstallColorProfile{A,W}.
Dynamically load liblcms.
Add tests.
2004-10-07 19:12:41 +00:00
Jon Griffiths fc1f31a92e Add missing ODS_ constants, tagname. 2004-10-07 17:34:16 +00:00
Alexandre Julliard efb8be7e82 Added a fallback implementation of futimes. 2004-10-07 04:25:05 +00:00
Jason Edmeades ac490fabac Add a IWineD3DDevice object type (empty for now), and create one when
an IDirect3DDevice object is created.
2004-10-07 04:22:21 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Alexandre Julliard 68604dbae7 Allow defined types to be used as function names. 2004-10-06 18:54:20 +00:00
Dmitry Timoshkov 39453f5121 Add prototypes for GetWindowLongPtr/SetWindowLongPtr. 2004-10-06 18:52:01 +00:00
Jason Edmeades b519893e41 Move the GetDeviceCaps into the wined3d library and call from d3d9. 2004-10-06 00:05:29 +00:00
Martin Fuchs 895129eec2 Don't use ".previous" for Cygwin build. 2004-10-05 18:31:21 +00:00
Huw Davies 1685e8c65e Rewrite PathCreateFromUrl. 2004-10-05 18:07:14 +00:00
Alexandre Julliard 5d0160ea75 Get rid of the non-standard Ixxx_METHODS macro definitions, declare
the interfaces explicitly instead.
2004-10-05 04:38:15 +00:00
Alexandre Julliard 739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +00:00
Alexandre Julliard 5ee74004a5 Converted control.h to idl. 2004-10-05 02:18:08 +00:00
Alexandre Julliard c477d606a4 Use propget/propput attributes where appropriate. 2004-10-05 02:16:11 +00:00
Jason Edmeades c579fa6213 Move the Check* type functions into wined3d and copy from d3d9, and
flag that they are mostly stubs.
2004-10-05 02:14:06 +00:00
Alexandre Julliard 23efdb7669 Fixed incompatible IDIRECTXFILEOBJECT_METHODS macro, and added
IUNKNOWN_METHODS.
2004-10-04 20:47:00 +00:00
Steven Edwards e7c3ab1874 Check for getuid and avoid the use of it in libwine if we don't have
it.
2004-10-04 20:45:49 +00:00
Vincent Béron f676cb521d Create mediaobj.h from mediaobj.idl. 2004-10-04 20:39:33 +00:00
Francois Gouget 6be32f7edc Don't use COBJMACROS on internal interfaces. 2004-10-04 20:38:32 +00:00
Robert Shearman cf78e15c2b - Fix calculation of required buffer size.
- Add support for detecting the IFF_MULTICAST flag.
- Stub for SIO_ADDRESS_LIST_CHANGE.
2004-10-04 20:37:43 +00:00
Francois Gouget 179dc259e4 Fix incorrect usage of COBJMACROS.
Duplicate and adapt the COM access macros so they also work in C++.
Fix the IDirectPlayX access macros.
2004-10-04 19:39:32 +00:00
Francois Gouget 52ecbf73b1 Fix incorrect usage of COBJMACROS. 2004-10-04 19:35:40 +00:00
Francois Gouget 017887e700 Fix the JobId field case. 2004-10-04 19:25:21 +00:00
Francois Gouget 1566bec56a Add HEAPENTRY32 and the related APIs. 2004-10-04 19:21:35 +00:00
Francois Gouget 588c53878b Add API_RET_TYPE and NET_API_FUNCTION. 2004-10-04 19:16:44 +00:00
Jason Edmeades c3421ea434 Move into wined3d and call from d3d9 the GetAdapterId function and
copy all the gl declarations into the more global wined3d_gl header
file.
2004-09-29 21:26:47 +00:00
Huw Davies 57cb25c008 ParseURL is now documented, so move it into shlwapi.h. 2004-09-29 21:12:04 +00:00
Huw Davies 076b5b706f Stub implementation of IInternetSecurityManager.
Add a classfactory.
Fix calling convention of CoInternetCreateSecurityManager.
2004-09-28 19:18:52 +00:00
Filip Navara a54433fab6 Fix IDL prototypes of IPStore::WriteItem and IPStore::CloseItem. 2004-09-28 03:14:28 +00:00
Jason Edmeades ae5a436873 - Make d3d8 know about the wined3d device and start using it.
- Move some of the screen mode related functions into wined3d and add
  untested support for the new d3d9 options of providing the format to
  some of the calls.
- Move other functions from the directx interface into the common
  library and implement the calls from d3d9 as well.
- Copy across the first of the functions used to make traces more readable,
  creating utils.c to store them in. Eventually the ones in d3d8 will be
  removed but for now just duplicate the code.
2004-09-28 02:12:12 +00:00
Huw Davies 20313b8306 Partial implementation of advpack.RegInstall. 2004-09-27 20:39:40 +00:00
Richard Cohen 52373b2df3 MenuItemFromPoint shouldn't crash if there's no menu. 2004-09-24 00:22:13 +00:00
Robert Shearman 07519aa1d0 Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
GWL_WNDPROC when compiling the Wine source.
2004-09-23 22:54:58 +00:00
Alexandre Julliard 969f57c24a Added support for epoll() as an alternative to poll() (based on the
work of Shachar Shemesh and Mike McCormack).
2004-09-23 04:48:24 +00:00
Jason Edmeades 24ab49e250 Create a wined3d interface, and generate a wined3d object in the d3d9
create method. Make the first (simple) call implementation into the
new wined3d interface.
2004-09-23 04:34:27 +00:00
Steven Edwards 76e00d621c Move URL_SCHEME typedef to match PSDK. 2004-09-22 19:10:11 +00:00
Hans Leidekker 5164757cea Beginnings of an MSCMS implementation based on LittleCMS. 2004-09-22 04:08:38 +00:00
Alexandre Julliard b6f53e3710 Get rid of the assembly code, it doesn't really improve anything
(reported by Rein Klazes).
2004-09-21 20:13:03 +00:00
Alexandre Julliard 0af18186b2 Ignore the generated header files. 2004-09-21 01:05:14 +00:00
Alexandre Julliard 47461203c4 Build the .h files from their idl source at compile time, and remove
them from CVS.
2004-09-21 00:35:02 +00:00
Alexandre Julliard 233766aafa Build idl files as part of the normal build process. 2004-09-20 21:48:42 +00:00
Alexander Yaworsky d46a95cd11 Added service database names. 2004-09-20 21:44:17 +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
Alexandre Julliard 60a8fcf4b0 Avoid using socklen_t. 2004-09-16 20:34:27 +00:00
Jacek Caban 900c0e58ce Added htmlhelp.h. 2004-09-16 19:05:49 +00:00
Francois Gouget c27db9b07c Assorted spelling fixes. 2004-09-14 19:31:22 +00:00
Marcus Meissner 00cf13a6e1 Autodetect libgif so extension and try to load it. 2004-09-14 19:27:58 +00:00
Mike McCormack f024a838f7 Added missing rpc type. 2004-09-14 17:44:25 +00:00
Andreas Rosenberg 5e114a8639 Implementation of WSAStringToAddress(A/W), WSAHtonl, WSAHtons. 2004-09-13 23:18:19 +00:00
Robert Reif a62dec8b25 Document all the structure members up to SessionId in the PEB. 2004-09-10 21:13:55 +00:00
Alexandre Julliard 241a4c34b1 Get rid of the non-standard ICOM_THIS macro. 2004-09-09 21:03:58 +00:00
Francois Gouget 83755cca97 Move the PROPVARIANT declaration from objidl.idl to propidl.idl.
Move related API declarations from individual C files to propidl.idl.
Remove uneeded include of propidl.h in the propvariant.c test.
2004-09-09 19:23:19 +00:00
Alexandre Julliard 92acc58af6 Get rid of the WIN_SetRectangles export from user32. 2004-09-09 00:30:29 +00:00
Francois Gouget 02236f06a8 Fix and unify parsing of calling conventions.
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Eric Pouech 440ad8ccf2 - ctrl-c enabling flag is now inherited
- fixed console-related fields in RTL_USER_PROCESS_PARAMETERS
- various clean-up in kernel32.SetConsoleCtrlHandler
- only send a console event once to a process and not to all the
  process' threads
2004-09-08 01:25:05 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Rein Klazes d1993fb398 Fix compile error with include files from Linux 2.6.7+. 2004-09-07 22:44:34 +00:00
Roderick Colenbrander dba9461675 - set ipx packet type
- add support for retrieving some ipx info
2004-09-07 20:47:03 +00:00
Robert Reif 7cdd584d7d Added missing struct. 2004-09-07 19:32:56 +00:00
Kevin Koltzau 3f8d8bec55 Partial implementation of MsiGetFileVersionA/W. 2004-09-06 21:25:48 +00:00
Mike McCormack 90c29ab3df Make GUIDs non-const when compiling MIDL/widl generated proxies. 2004-09-06 21:25:16 +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
Michael Jung 2a1f4f1415 Added some defines for Crypt{Get/Set}KeyParam. 2004-09-06 20:27:16 +00:00
Francois Gouget e67a614fe4 Define the tmschema.h constants using enumerations and the macros
provided by schemadef.h.
2004-09-06 20:25:25 +00:00
Steven Edwards c91ae456b8 Use Windows sockets when building Wininet on Mingw. 2004-09-03 18:57:19 +00:00
Alexandre Julliard 754e7aa788 Added configure check for socklen_t. 2004-09-03 18:30:28 +00:00
Francois Gouget 313dadb368 Fix typo in RBS_UNCHECKEDHOT (spotted by Jan Schweizer).
Fix the HSAS_ enumeration.
2004-09-03 17:29:15 +00:00
Mike McCormack c859e91098 Use only standard C types in rpchdr.h. 2004-09-03 17:28:52 +00:00
Francois Gouget 4d61245684 Added missing field to MIDL_STUB_MESSAGE. 2004-09-03 01:03:29 +00:00
Mike McCormack 0b871be3d7 Avoid non-standard types. 2004-09-03 01:02:44 +00:00
Mike McCormack a3c8081134 Update a url. 2004-09-03 01:02:32 +00:00
Robert Reif 72d1eb475c Added some missing defines. 2004-09-02 22:57:21 +00:00
Mike McCormack cdf631fb3e Use standard types in rpcrt4 headers so they can be used to build MIDL
generated proxy code.
2004-09-02 20:09:10 +00:00
Alexandre Julliard f56c6fb9b2 Moved some window painting functions to uitools.c. 2004-09-01 18:26:40 +00:00
Alexandre Julliard b0394dea42 Get rid of the WINE_UNUSED macro. 2004-09-01 17:36:04 +00:00
Alexandre Julliard 9bf729b7cb Fixed alignment of TOKEN_STATISTICS. 2004-09-01 04:58:53 +00:00
Alexandre Julliard 03250ff6e7 Inline functions don't need WINE_UNUSED. 2004-09-01 04:55:52 +00:00
Robert Reif 15fbcacbb4 Added some missing LPC typedefs. 2004-09-01 04:53:12 +00:00
Francois Gouget 8bc2fdb3f9 Disable the RtlBitMap tests if compiling with the Microsoft headers as
they are missing critical structure and API declarations.
2004-09-01 01:29:18 +00:00
Robert Reif 07b8d36278 Added some missing dfines. 2004-09-01 01:28:35 +00:00
Francois Gouget 91562d5b22 Add PSZ to windef.h.
Add a couple missing declarations to winternl.h.
Tweak VM_COUNTERS to match the ddk declaration.
2004-08-31 17:32:29 +00:00
Alexandre Julliard 3c39a9912e Get rid of the non-standard CONV_POINT and CONV_RECT functions. 2004-08-31 00:02:02 +00:00
Robert Reif fc2ad2160a Added some missing definitions. 2004-08-30 18:41:05 +00:00
Mike McCormack 55defb652a Added some defines used in RichEdit 2.0. 2004-08-30 18:40:34 +00:00
Mike McCormack 2b5322c7e9 Define a couple more SPI_ constants. 2004-08-27 19:12:12 +00:00
Mike McCormack 60fbc97f08 Added a few more prototypes to the headers. 2004-08-27 19:11:37 +00:00
Francois Gouget dff5004bc0 Assorted spelling fixes. 2004-08-26 00:31:20 +00:00
Robert Shearman ead9e56414 Bring common control header up to date with new additions in XP. 2004-08-25 02:14:28 +00:00
Robert Reif a1a37ce163 Added IEEE float audio data type. 2004-08-25 02:07:40 +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
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Francois Gouget 61d21ce706 Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK.
Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are
defined.
2004-08-23 18:52:54 +00:00
Alexandre Julliard 20486e1c59 Get rid of the ICOM_MSVTABLE_COMPAT support, g++ no longer requires
this.
2004-08-23 18:10:02 +00:00
Francois Gouget d21458500d Move LDT_ENTRY to winnt.h. 2004-08-23 17:49:32 +00:00
Alexandre Julliard 07a805127a Added recursive idl target to allow updating idl files private to a
dll.
2004-08-22 22:33:57 +00:00
Alexandre Julliard cfb3b7e81f Output BEGIN/END_INTERFACE for C++ base classes too. 2004-08-22 22:31:52 +00:00
Francois Gouget 6b1e83281b Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget 310f093ac5 Moved declarations from undocshell.h to shlobj.h to match the latest
platform SDK.
2004-08-22 22:27:31 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Mike McCormack 77ea021e5f Generate BEGIN_INTERFACE,END_INTERFACE macros instead of
ICOM_MSVTABLE_COMPAT_FIELDS.
2004-08-22 02:25:05 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Robert Reif 7bf4eee7ad Remove wine specific DRV_QUERYDSOUNDGUID message and calculate it in
dsound.dll (like in 2k/xp).
2004-08-20 20:01:31 +00:00
Francois Gouget 09747e50e7 Fix packing bug in shlobj.h.
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Robert Shearman 3e80fb4611 - Fix type in GetRandomRegion function.
- Add prototype to header.
2004-08-20 19:26:28 +00:00
Mike McCormack f8e2873b4a Added prototypes for a few more Native API functions. 2004-08-20 19:24:33 +00:00
Francois Gouget 96a5c44233 Fix packing of shlwapi.h
Add a DECLSPEC_ALIGN(8) to force DLLVERSIONINFO2 to have the correct
alignment.
2004-08-19 19:59:41 +00:00
Francois Gouget 466f5e79a8 Add new fields to the NOTIFYICONDATA structure so it matches the
latest platform SDK.
Update shell32/tests/generated.c. It now works when compiled with the
Windows headers.
2004-08-19 19:16:31 +00:00
Michael Jung b9520dca17 Added some defines for CPSetKeyParam. 2004-08-18 23:51:04 +00:00
Andreas Mohr ee5445da81 Added OBJ_COLORSPACE define. 2004-08-18 20:58:59 +00:00
Alexandre Julliard 6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Eric Pouech 1ffddb4d0c - better support for non-blocking COMM and socket read/writes:
+ added necessary semantics to fd flags
  + no longer uses fd type (but fd flags) read/write semantic behavior
- fixed socket code to use the proper manifest constants
- fixes for kernel32.GetOverlappedResult without hEvent set
- in ntdll.Nt{Read|Write}File
  + always reset the event
  + added support for longlong offsets
  + better object disposal in error handling code paths
2004-08-17 23:37:55 +00:00
Mike McCormack b255c11787 Stub implementation for NtSetInformationToken. 2004-08-17 22:09:55 +00:00
Robert Reif b05354d347 Adds enough of ks.h, ksguid.h and ksmedia.h to start adding support
for WAVEFORMATEXTENSIBLE.
2004-08-16 21:09:27 +00:00
Mike McCormack 278f743a4c Stub implementation and declaration for NtCreateNamedPipeFile. 2004-08-16 21:08:38 +00:00
Mike McCormack 985646f07a Declaration, implemention and test for BuildTrusteeWithSid. 2004-08-16 21:07:50 +00:00
Andreas Mohr 5d91a63add Move some OpenGL defines from the private wgl.h header to where they
belong.
2004-08-16 20:07:06 +00:00
Mike McCormack 65e4823410 Define new propsheet messages. 2004-08-16 20:00:26 +00:00
Aric Stewart 10a025006a devguid.h defines device class GUIDs used in device detection and
classification.
2004-08-16 19:49:16 +00:00
Aric Stewart df3a74c07c Add some GUIDs from the win2k DDK that are used for USB devices. 2004-08-16 19:48:00 +00:00
Mike McCormack 55257303d7 Move declaration of LSA* structs to ntsecapi.h. 2004-08-16 19:47:21 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Robert Reif e9b41687d5 Add WAVE_FORMAT_EXTENSIBLE. 2004-08-13 19:48:04 +00:00
Francois Gouget 9b0136fbff Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY
structure to match the Windows headers.
2004-08-13 19:46:28 +00:00
Alexandre Julliard 936198ce45 Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
that use it.
2004-08-13 00:44:22 +00:00
Robert Reif 22174de9bb Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other
way around.
2004-08-13 00:41:34 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Aric Stewart 146d60697e Added some more needed structs and constants. 2004-08-12 20:28:42 +00:00
Jacek Caban edd49c782d Implemented IsOS function. 2004-08-12 20:28:12 +00:00
Aric Stewart ba01e4afb6 Added 2 more bus types. 2004-08-12 20:26:42 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Alexandre Julliard 616940eb9a Get rid of the non-standard ICOM_DEFINE macro. 2004-08-12 03:33:30 +00:00
Francois Gouget 522217c0e2 Remove LPFILESYSTEMBINDDATA as it's not defined in the standard
Windows headers.
2004-08-11 20:52:37 +00:00
Francois Gouget bf72af30d0 Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00