Commit Graph

302 Commits

Author SHA1 Message Date
Stefan Huehner 2440dcfe88 Fix -Wmissing-declarations warnings. 2005-07-05 12:49:14 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
Lionel Ulmer c53db1934b Rewrite DirectPlayEnumerateA and add W version at the same time. 2005-05-23 11:49:36 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget e8ec9d5fe6 DPSET_REMOTE is 0 so we cannot do (flags & DPSET_REMOTE). Instead
check that the DPSET_LOCAL flag is not set.
2005-04-19 09:48:09 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Raphael Junqueira aa5676bd27 Avoid ConvertToGlobalHandle calls. 2005-03-09 11:48:05 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Francois Gouget da8b3dd7f2 Assorted spelling fixes. 2005-01-26 21:09:04 +00:00
Paul Vriens 6a8268f372 Use Interlocked* functions in AddRef and Release. 2005-01-11 15:46:43 +00:00
Mike McCormack 4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech c164e069a8 Fixed array index overflow. 2004-12-13 12:01:58 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Francois Gouget 3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +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 739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +00:00
Francois Gouget 6be32f7edc Don't use COBJMACROS on internal interfaces. 2004-10-04 20:38:32 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +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
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +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
Marcus Meissner 2d34619b18 Move definitions of static vtables from header to dplay.c. 2004-07-12 19:48:57 +00:00
Ivan Leo Murray-Smith 10778aa761 Updated the version info of all DirectX dlls to the version numbers of
DirectX 9.0b for Windows 2000/XP.
2004-05-14 21:37:32 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Ge van Geldorp 100e11309b Fix various function prototypes to conform to PSDK. 2004-01-23 20:57:26 +00:00
Sami Aario bc08f32742 Fix some return values of dplayx API calls. 2003-12-30 21:50:56 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Daniel Marmier ee1eb63b31 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 03:30:47 +00:00
Francois Gouget 224063f033 Some spelling fixes.
Fix the case of WineHQ.
2003-09-29 20:20:53 +00:00
Tom Wickline aaf38e343e Remove obsolete information. 2003-09-29 20:12:05 +00:00
Dimitrie O. Paun e21e3d0a80 Merge documentation/status/directplay into the code. 2003-09-27 02:23:44 +00:00
Alexandre Julliard 20c169e0a4 Fixed a few more headers dependency issues. 2003-09-09 19:39:31 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Tom Wickline 1c6a20f3cf Set version to 8.1. 2003-08-23 23:05:24 +00:00
John K. Hohm 718f9e98eb Implement DllRegisterServer and DllUnregisterServer for dplayx.dll,
and add OleSelfRegister version string.
2003-08-23 22:55:43 +00:00
Tom Wickline b6363343f4 Set version to DirectX 7. 2003-08-07 20:12:12 +00:00
Alexandre Julliard 20698b22df Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Francois Gouget f803e2a92d Fix miscellaneous spelling errors and typos. 2003-05-13 00:41:57 +00:00
Sylvain Petreolle 2c76bc1ce6 - Fix DirectPlayEnumerateA exit code.
- Add default registry entry for DirectPlay Service Providers.
2003-04-16 23:12:07 +00:00
Alexandre Julliard aae3cb61cd Simplified COM interface declarations, removing the need to define
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard 55379110c5 Get rid of the ICOM_CALL macros. 2003-04-10 21:13:58 +00:00
Alexandre Julliard c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +00:00
Alexandre Julliard f00c46f030 Use a more compatible technique to declare COM interfaces methods,
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Michael Stefaniuc 2229472d94 Add some missing HeapFree's and one missing free. 2003-04-03 18:04:40 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Michael Stefaniuc 62ed0ffe00 Added some missing LeaveCriticalSection's. 2003-02-12 01:26:05 +00:00
Enrico Horn daeaff6944 Extend version info. 2003-01-13 18:31:19 +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
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +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
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
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Michael Stefaniuc 5a1ede3345 Compile the dplayx dll with STRICT defined. 2002-10-23 22:20:46 +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
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Gregg Mattinson 7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Andreas Mohr 012478c9d3 Spelling stuff. 2002-05-20 18:01:44 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Andreas Mohr 9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Francois Gouget cd8d181a0b Spelling typos. 2001-05-18 21:01:38 +00:00
Ove Kaaven 0a49df16ed Add version resource to dplayx.dll, versioned to DirectX 7.0. 2001-04-16 18:59:59 +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
Francois Gouget 282f7270c1 Small 'typos in comments' fixes. 2001-02-28 05:31:02 +00:00
Francois Gouget b87a83866f Change the callback declarations to a safer format. 2001-02-12 03:51:04 +00:00
Francois Gouget 3fb4cf70a7 Fix typos in comments. 2001-02-12 03:48:24 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +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
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
François Gouget 84d72a9a14 Removed an '#ifdef STRICT'. 2001-01-02 22:16:14 +00:00
Ulrich Weigand cc195924a6 Added check whether unaligned memory access is allowed.
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
François Gouget 3c7a2b8c84 Removed the declspec specifier. 2000-12-15 20:53:05 +00:00
Alexandre Julliard 5be8e7d8e0 Created a small static library in ole/libuuid.a that contains all the
UUID definitions (with the help of Francois Gouget).
2000-12-06 01:50:47 +00:00
Francois Gouget 99acd7dfa3 Use the DUMMYUNIONNAME macros so that the headers can be used in
Winelib.
2000-12-03 03:16:05 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Alexandre Julliard c95b1aa37f Avoid linking with ntdll where possible. 2000-11-16 04:15:08 +00:00
Alexandre Julliard 0e44f63c9a Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions. 2000-11-16 00:28:52 +00:00
Alexandre Julliard 8c540c657e Replaced a few internal functions by exported ones. 2000-11-13 04:16:05 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Francois Gouget f5cea729a6 We must include windef.h before wtypes.h (directly or indirectly). 2000-11-08 05:05:15 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Peter Hunnisett 10a04e7485 - Add proper message reply mechanism and sp player data storage
- More implementation and fixes
2000-10-19 20:20:58 +00:00
Alexandre Julliard 86f4531676 Added a few missing imports. 2000-09-27 22:32:44 +00:00
Peter Hunnisett 72526ba4f5 - Remove winmm hack in dplay code
- Fix up some missing holes in the code
- More message implementation
- Status documentation update
2000-09-26 23:11:48 +00:00
Patrik Stridvall 6e740b5b46 Fixed some issues found by winapi_check. 2000-09-04 20:21:06 +00:00
Peter Hunnisett 8adbdd7c7b - More implementation
- Should be able to enumerate sessions anywhere with at least tcp/ip
2000-08-29 23:55:06 +00:00
Alexandre Julliard 7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Peter Hunnisett ef6dca5c37 - Implemented loading and initialization of service providers
- Created service provider COM object
- Lots of dplay/dplobby implementation/fixes
- Clean up of ole/guid.c
2000-08-25 21:58:05 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard bea617be47 Moved GUID definitions to their respective dll. 2000-08-03 04:22:35 +00:00
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Peter Hunnisett 4da59ea6dd - Make ref counting a little more efficient
- Correct suspended process resumption
- Don't use sys/queue.h anymore
- Properly initialize the global semaphore across processes
- Create a mapped file for shared data structures
- Change some trace messages
- Allocate dynamic shared data from the mapped file
- Rework setting and retrieving lobby settings from shared memory
- Add infrastructure for syncronization after app launch
- Small documentation update
- Include some stuff missing from header
- Start on dp and dpl message infrastructure
- Unicode versions of player/group commands added
- Combined Connect/ConnectEx and Open/SecureOpen
- More implementation
2000-07-10 13:19:28 +00:00
Alexandre Julliard c607532ae4 Created separate libraries for dplay, shfolder, shlwapi, wow32 and
wsock32 so that we have at most one Win32 dll in each .so library.
2000-07-09 11:19:35 +00:00
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +00:00
Peter Hunnisett ac986830fa - Small update to documentation
- More player/group interface implementation (not tested)
2000-06-07 03:44:36 +00:00
Andreas Mohr 2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Peter Hunnisett 3951ff24ac - Added a little more dll level debugging and small changes
- Start on group and player interfaces
2000-05-30 20:08:32 +00:00
Peter Hunnisett e2853822c5 Started local name server framework. 2000-05-26 22:26:30 +00:00
Peter Hunnisett 7f84723bba - Small fixes/updates
- Add support for the DPCONNECTION_DIRECTPLAYLOBBY flag
2000-05-23 01:16:36 +00:00
Patrik Stridvall c77ff5ef67 Fixed issues reported by winapi_check. 2000-04-29 14:26:13 +00:00
Patrik Stridvall 55ef9a5a68 Fixed issues found by winapi_check. 2000-04-24 18:03:54 +00:00
Alexandre Julliard 84eb8334da Added some missing import directives. 2000-04-19 16:54:02 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Peter Hunnisett e4e61708d4 - Make registry usage a little more correct and modern
- Create home for all dplay name server functionality
- Add the framework for EnumSessions
- Documentation update
2000-03-12 20:18:33 +00:00
Alexandre Julliard 82a2b186e7 Added support for creating extra symlinks for .so files that contain
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Andreas Mohr 8cd93514f0 - add some documentation items
- fix some spelling
- fix some warnings
2000-01-29 21:12:58 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Alexandre Julliard 681c75bf17 Added debugstr_guid function and used it to replace
WINE_StringFromCLSID in all debugging messages.
2000-01-18 05:09:49 +00:00
Peter Hunnisett 10c1532b41 Fix problem with initialization (reported by Andreas Mohr). 2000-01-12 04:56:13 +00:00
Alexandre Julliard 6f715732e7 Make use of automatic ordinal allocation. 2000-01-01 22:06:18 +00:00
Peter Hunnisett de73965d67 Fixed ordinal numbering and added new spec stub. 1999-12-20 04:12:23 +00:00
Andreas Mohr 7fb732e597 Fixed compiler warnings. 1999-12-12 00:47:51 +00:00
Niels Kristian Bech Jensen c69a80c31d Compiler warnings fixed. 1999-11-28 20:31:04 +00:00
Peter Hunnisett 88a2954a97 - Added global data mutual exclusion
- Removed hack for creating processes suspended now that it's implemented
- Fixed ordinal numbering and added spec stubs
- Fixed EnumConnections callback to fill in all parameters with valid data
- Made direct play allocation/deallocation follow the same pattern as
  direct play lobby
1999-11-25 22:04:53 +00:00
Peter Hunnisett 88d89f93ea - Added dplayx LibMain for initialization of all dplayx 'global' data
- Added start for global data manipulation
- TODO list updated
- Added some missing header file definitions
- Added the ansi versions of dplay and dplobby
- Fixed invalid macro for IDirectPlay4
- Cleaned up compiler warnings
- More implementation, bug fixes and critical region protection
1999-11-04 02:17:03 +00:00
Francois Gouget 01c9ac401f Generalized the use of the new ICOM_VFIELD and ICOM_VTBL macros. 1999-10-31 01:59:23 +00:00
Francois Gouget 819e7946e9 Added two macros, ICOM_VFIELD and ICOM_VTBL, so that when implementing
a COM interface one never has to name the lpVtbl field explicitly.
1999-10-25 15:43:36 +00:00
Francois Gouget 6e74ec0015 Use the COM macros rather than directly accessing the lpvtbl field. 1999-10-13 14:01:40 +00:00
Peter Hunnisett 22b861c1be - Moved dplay and dplayx to a proper home in the dlls directory.
- Implemented new DirectPlay4 and DirectPlayLobby3 interfaces.
- Implemented a class factory for dplay and dplobby. COM interfaces
  now work for dp and dpl.
- Added a few more entries to dplayx.spec files. How do you find the
  ordinals? I just guessed :(
- Seperated DirectPlay and DirectPlayLobby implementation into separate files.
- Included some missing header file definitions.
- Implemented the dplay dll in terms of the dplayx dll. I haven't
  tested it so it may not work...
- A few bug fixes and a little new implementatioe.n
- Updated document with a more detailed implementation plan.
1999-09-28 16:35:32 +00:00