Commit Graph

164 Commits

Author SHA1 Message Date
Michael Stefaniuc 82b51258ea dplayx: Remove the duplicated IDirectPlayXImpl structs. 2013-03-29 17:52:31 +01:00
Michael Stefaniuc 0e7b1a46d5 dplayx: Get rid of the unused DirectPlay3Data / DirectPlay4Data fields. 2013-03-29 17:52:30 +01:00
Michael Stefaniuc caf9d42e0d dplayx: Have the decency to support IUnknown in DirectPlay. 2013-03-29 17:52:25 +01:00
André Hentschel 3dd7c64c25 dplayx: Reorder some code to avoid memory leak (coverity). 2012-10-30 10:46:21 +01:00
Michael Stefaniuc 66bd68a809 dplayx: Avoid TRUE:FALSE conditional expressions. 2012-08-27 19:49:43 +02:00
Francois Gouget 2539004fe1 dplayx: Use a proper plural for the repliesExpected field name. 2012-05-14 12:06:15 +02:00
Andrew Talbot f640ba231b dplayx: Remove extraneous braces from switch statement. 2011-11-07 11:53:26 +01:00
Frédéric Delanoy 6ae1bfe20f dplayx: Remove dead code (Clang). 2011-07-05 14:43:21 +02:00
Francois Gouget 7422611cc9 dplayx: cbDelete{Groups,Player}Elem() are unused so remove them. 2009-05-18 12:32:23 +02:00
Michael Stefaniuc f1a877a69d dplayx: Remove superfluous pointer casts. 2009-01-16 12:56:10 +01:00
Alexandre Julliard de5a266aa0 dplayx: Remove some unused functions. 2008-12-01 13:26:05 +01:00
Francois Gouget 80b6c2efd6 dplay: Remove WINAPI on static functions where not needed. 2008-12-01 12:44:49 +01:00
Michael Stefaniuc 4afe790387 dplayx: Use SUCCEEDED instead of !FAILED. 2008-10-08 13:42:34 +02:00
Kai Blin 8348c9fa94 dplayx: Fix possible NULL pointer dereference (Coverity). 2008-09-10 12:07:40 +02:00
Ismael Barros 5ba76a257a dplayx: Tests for checking the behaviour of groups in a p2p session. 2008-08-20 13:51:56 +02:00
Ismael Barros c235bba66b dplayx: Tests for EnumGroupsInGroup. 2008-08-20 13:51:42 +02:00
Ismael Barros 58837a6ceb dplayx: Tests for CreateGroup. 2008-08-20 13:49:04 +02:00
Ismael Barros aacefb7e17 dplayx: Tests for Get/SetPlayerName. 2008-08-04 15:33:50 +02:00
Ismael Barros 0755a77e0e dplayx: Tests for Get/SetPlayerData. 2008-08-04 15:33:25 +02:00
Ismael Barros 724f0ea4d6 dplayx: Tests for CreatePlayer. 2008-08-04 15:32:56 +02:00
Ismael Barros fbc5512ee0 dplayx: Tests for EnumSessions. 2008-08-04 15:32:23 +02:00
Ismael Barros fa4b3e4d53 dplayx: Tests for Open. 2008-08-04 15:31:18 +02:00
Ismael Barros 4ff6ba0a4a dplayx: Tests for GetCaps. 2008-08-01 12:10:19 +02:00
Ismael Barros d142447c26 dplayx: Tests for InitializeConnection. 2008-08-01 12:10:19 +02:00
Ismael Barros 4ab75e1214 dplayx: Tests for EnumConnections. 2008-08-01 12:10:19 +02:00
Ismael Barros 42165af840 dplayx: Tests for DirectPlayCreate. 2008-08-01 12:10:13 +02:00
Ismael Barros 5dc0d4d1ed dplayx: Fix the definition of DirectPlayCreate. 2008-08-01 12:02:26 +02:00
Ismael Barros 4a4e5f269d dplayx: Moved dplaysp.h to include/wine. 2008-07-23 11:40:53 +02:00
Andrew Talbot fed3a4aebe dplayx: Remove unneeded "extern" from function definitions. 2008-05-22 11:29:09 +02:00
Andrew Talbot 3d8f5c1590 dplayx: Remove unused variables. 2008-04-17 11:41:11 +02:00
Austin English b4f52938e4 Spelling fixes. 2008-04-02 23:18:21 +02:00
Andrew Talbot 5423c35d3c dplayx: Assign to structs instead of using CopyMemory. 2008-03-29 10:30:27 +01:00
Andrew Talbot 20c0c311da dplayx: Assign to struct instead of using memcpy. 2008-02-27 14:52:25 +01:00
Rob Shearman 488ac40fa8 dplayx: Fix incorrect check in DirectPlay3AImpl_EnumConnections.
Dereferencing a function pointer and checking it against NULL doesn't 
make any sense, so remove the check.
2008-02-21 20:16:08 +01:00
Andrew Talbot 03a2020473 dplayx: Remove unneeded casts. 2007-12-11 12:08:42 +01:00
Francois Gouget c4b1195c0c Assorted spelling fixes. 2007-10-23 18:20:27 +02:00
Andrew Talbot 5ab977e2aa dplayx: Fix some memory leaks. 2007-09-24 13:50:31 +02:00
Lionel Debroux cd6472f794 dplayx: Fixed memory leak in dplay.c (found by Smatch). 2007-09-11 11:47:17 +02:00
Andrew Talbot 43b278c5f1 dplayx: Constify some variables. 2007-04-27 11:13:47 +02:00
Alessandro Pignotti 3040e09ae3 dplayx: Implement proper interface locking for DP_EnumSession. 2007-04-03 13:14:38 +02:00
Alessandro Pignotti 6406a203c8 dplayx: Fixes the order of GUID initialization and storage. 2007-03-26 14:55:02 +02:00
Alessandro Pignotti d8b24e3664 dplayx: Check for null pointer dereference in DP_FindPlayer. 2007-03-21 16:02:52 +01:00
Alessandro Pignotti 9d69d53335 dplayx: DirectPlay should keep track of the user count. 2007-03-16 11:36:34 +01:00
Jan Zerebecki a950a47200 dplayx: Add DebugInfo to critical sections. 2007-03-08 22:21:49 +01:00
Alessandro Pignotti d1331e62ca dplay: Directplay should initialize session Guid, with conformance tests. 2007-03-01 20:42:49 +01:00
Detlef Riekenberg ec8393d3d5 dplayx: Display requested provider. 2006-12-06 11:36:32 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Michael Stefaniuc 699d4413bf dplayx: Win64 printf format warning fixes. 2006-10-10 11:56:52 +02:00
Andrew Talbot ded7d0bcd5 dplayx: Cast-qual warnings fix. 2006-09-10 10:17:11 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Mike McCormack 4a5378efcd Fix some gcc 4.0 warnings. 2005-08-30 08:56:35 +00:00
Mike McCormack bda7ace2e9 Interlocked LONG* gcc warning fixes. 2005-07-13 11:59:15 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
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
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
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
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
Marcus Meissner 2d34619b18 Move definitions of static vtables from header to dplay.c. 2004-07-12 19:48:57 +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
Daniel Marmier ee1eb63b31 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-07 03:30:47 +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
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52: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 c2ebe1ff93 Removed uses of the non standard ICOM_VTBL macro. 2003-04-10 18:17:34 +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
Michael Stefaniuc 5a1ede3345 Compile the dplayx dll with STRICT defined. 2002-10-23 22:20:46 +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 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
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
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +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 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
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +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
Francois Gouget 99acd7dfa3 Use the DUMMYUNIONNAME macros so that the headers can be used in
Winelib.
2000-12-03 03:16:05 +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
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
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
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
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
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
Peter Hunnisett ac986830fa - Small update to documentation
- More player/group interface implementation (not tested)
2000-06-07 03:44:36 +00:00