Changeset 2193 for trunk/src


Ignore:
Timestamp:
Dec 24, 1999, 2:25:00 AM (26 years ago)
Author:
hugh
Message:

Changed so that it now compiles and links

Location:
trunk/src/DPlayX
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DPlayX/dplayx.cpp

    r943 r2193  
    1 /* $Id: dplayx.cpp,v 1.2 1999-09-15 17:27:23 phaller Exp $ */
     1/* $Id: dplayx.cpp,v 1.3 1999-12-24 01:24:59 hugh Exp $ */
    22
    33/* Direct Play 3 and Direct Play Lobby 2 Implementation
     
    1717#include "winnt.h"
    1818#include "winreg.h"
     19#define INITGUID
    1920#include "dplay.h"
    2021#include "dplobby.h"
     
    18071808}
    18081809
     1810static ULONG WINAPI DirectPlay2A_Release
     1811( LPDIRECTPLAY2A iface )
     1812{
     1813  ICOM_THIS(IDirectPlay2Impl,iface);
     1814  TRACE("ref count decremeneted from %lu\n", This->ref );
     1815
     1816  This->ref--;
     1817
     1818  /* Deallocate if this is the last reference to the object */
     1819  if( !(This->ref) )
     1820  {
     1821    FIXME("memory leak\n" );
     1822    /* Implement memory deallocation */
     1823
     1824    HeapFree( GetProcessHeap(), 0, This );
     1825
     1826    return 0;
     1827  }
     1828
     1829  return This->ref;
     1830}
     1831
     1832
    18091833static ULONG WINAPI DirectPlay3A_Release
    18101834( LPDIRECTPLAY3A iface )
     
    18311855static ULONG WINAPI DirectPlay2AImpl_AddRef (LPDIRECTPLAY2A iface)
    18321856{
    1833   return DirectPlay3AImpl_AddRef( (LPDIRECTPLAY3A) iface );
     1857  return DirectPlay3WImpl_AddRef( (LPDIRECTPLAY3A) iface );
    18341858}
    18351859
     
    18421866}
    18431867
     1868
    18441869HRESULT WINAPI DirectPlay3WImpl_AddPlayerToGroup
    18451870          ( LPDIRECTPLAY3 iface, DPID a, DPID b )
     
    18501875}
    18511876
     1877HRESULT WINAPI DirectPlay2A_AddPlayerToGroup
     1878          ( LPDIRECTPLAY2A iface, DPID a, DPID b )
     1879{
     1880  ICOM_THIS(IDirectPlay2Impl,iface);
     1881  FIXME("(%p)->(0x%08lx,0x%08lx): stub", This, a, b );
     1882  return DP_OK;
     1883}
     1884
     1885HRESULT WINAPI DirectPlay2WImpl_AddPlayerToGroup
     1886          ( LPDIRECTPLAY2 iface, DPID a, DPID b )
     1887{
     1888  ICOM_THIS(IDirectPlay2Impl,iface);
     1889  FIXME("(%p)->(0x%08lx,0x%08lx): stub", This, a, b );
     1890  return DP_OK;
     1891}
    18521892
    18531893HRESULT WINAPI DirectPlay3A_Close
     
    18671907}
    18681908
     1909HRESULT WINAPI DirectPlay2A_Close
     1910          ( LPDIRECTPLAY2A iface )
     1911{
     1912  ICOM_THIS(IDirectPlay2Impl,iface);
     1913  FIXME("(%p)->(): stub", This );
     1914  return DP_OK;
     1915}
     1916
     1917HRESULT WINAPI DirectPlay2WImpl_Close
     1918          ( LPDIRECTPLAY2 iface )
     1919{
     1920  ICOM_THIS(IDirectPlay2Impl,iface);
     1921  FIXME("(%p)->(): stub", This );
     1922  return DP_OK;
     1923}
     1924
     1925
    18691926HRESULT WINAPI DirectPlay3A_CreateGroup
    18701927          ( LPDIRECTPLAY3A iface, LPDPID a, LPDPNAME b, LPVOID c, DWORD d, DWORD e )
     
    18831940}
    18841941
     1942HRESULT WINAPI DirectPlay2A_CreateGroup
     1943          ( LPDIRECTPLAY2A iface, LPDPID a, LPDPNAME b, LPVOID c, DWORD d, DWORD e )
     1944{
     1945  ICOM_THIS(IDirectPlay2Impl,iface);
     1946  FIXME("(%p)->(%p,%p,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d, e );
     1947  return DP_OK;
     1948}
     1949
     1950HRESULT WINAPI DirectPlay2WImpl_CreateGroup
     1951          ( LPDIRECTPLAY2 iface, LPDPID a, LPDPNAME b, LPVOID c, DWORD d, DWORD e )
     1952{
     1953  ICOM_THIS(IDirectPlay2Impl,iface);
     1954  FIXME("(%p)->(%p,%p,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d, e );
     1955  return DP_OK;
     1956}
     1957
    18851958HRESULT WINAPI DirectPlay3A_CreatePlayer
    18861959          ( LPDIRECTPLAY3A iface, LPDPID a, LPDPNAME b, HANDLE c, LPVOID d, DWORD e, DWORD f )
     
    18991972}
    19001973
     1974HRESULT WINAPI DirectPlay2A_CreatePlayer
     1975          ( LPDIRECTPLAY2A iface, LPDPID a, LPDPNAME b, HANDLE c, LPVOID d, DWORD e, DWORD f )
     1976{
     1977  ICOM_THIS(IDirectPlay2Impl,iface);
     1978  FIXME("(%p)->(%p,%p,%d,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d, e, f );
     1979  return DP_OK;
     1980}
     1981
     1982HRESULT WINAPI DirectPlay2WImpl_CreatePlayer
     1983          ( LPDIRECTPLAY2 iface, LPDPID a, LPDPNAME b, HANDLE c, LPVOID d, DWORD e, DWORD f )
     1984{
     1985  ICOM_THIS(IDirectPlay3Impl,iface);
     1986  FIXME("(%p)->(%p,%p,%d,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d, e, f );
     1987  return DP_OK;
     1988}
     1989
    19011990HRESULT WINAPI DirectPlay3A_DeletePlayerFromGroup
    19021991          ( LPDIRECTPLAY3A iface, DPID a, DPID b )
     
    19152004}
    19162005
     2006HRESULT WINAPI DirectPlay2A_DeletePlayerFromGroup
     2007          ( LPDIRECTPLAY2A iface, DPID a, DPID b )
     2008{
     2009  ICOM_THIS(IDirectPlay2Impl,iface);
     2010  FIXME("(%p)->(0x%08lx,0x%08lx): stub", This, a, b );
     2011  return DP_OK;
     2012}
     2013
     2014HRESULT WINAPI DirectPlay2WImpl_DeletePlayerFromGroup
     2015          ( LPDIRECTPLAY2 iface, DPID a, DPID b )
     2016{
     2017  ICOM_THIS(IDirectPlay2Impl,iface);
     2018  FIXME("(%p)->(0x%08lx,0x%08lx): stub", This, a, b );
     2019  return DP_OK;
     2020}
     2021
    19172022HRESULT WINAPI DirectPlay3A_DestroyGroup
    19182023          ( LPDIRECTPLAY3A iface, DPID a )
     
    19312036}
    19322037
     2038HRESULT WINAPI DirectPlay2A_DestroyGroup
     2039          ( LPDIRECTPLAY2A iface, DPID a )
     2040{
     2041  ICOM_THIS(IDirectPlay2Impl,iface);
     2042  FIXME("(%p)->(0x%08lx): stub", This, a );
     2043  return DP_OK;
     2044}
     2045
     2046HRESULT WINAPI DirectPlay2WImpl_DestroyGroup
     2047          ( LPDIRECTPLAY2 iface, DPID a )
     2048{
     2049  ICOM_THIS(IDirectPlay2Impl,iface);
     2050  FIXME("(%p)->(0x%08lx): stub", This, a );
     2051  return DP_OK;
     2052}
     2053
    19332054HRESULT WINAPI DirectPlay3A_DestroyPlayer
    19342055          ( LPDIRECTPLAY3A iface, DPID a )
     
    19432064{
    19442065  ICOM_THIS(IDirectPlay3Impl,iface);
     2066  FIXME("(%p)->(0x%08lx): stub", This, a );
     2067  return DP_OK;
     2068}
     2069
     2070HRESULT WINAPI DirectPlay2A_DestroyPlayer
     2071          ( LPDIRECTPLAY2A iface, DPID a )
     2072{
     2073  ICOM_THIS(IDirectPlay2Impl,iface);
     2074  FIXME("(%p)->(0x%08lx): stub", This, a );
     2075  return DP_OK;
     2076}
     2077
     2078HRESULT WINAPI DirectPlay2WImpl_DestroyPlayer
     2079          ( LPDIRECTPLAY2 iface, DPID a )
     2080{
     2081  ICOM_THIS(IDirectPlay2Impl,iface);
    19452082  FIXME("(%p)->(0x%08lx): stub", This, a );
    19462083  return DP_OK;
     
    19652102}
    19662103
     2104HRESULT WINAPI DirectPlay2A_EnumGroupPlayers
     2105          ( LPDIRECTPLAY2A iface, DPID a, LPGUID b, LPDPENUMPLAYERSCALLBACK2 c,
     2106            LPVOID d, DWORD e )
     2107{
     2108  ICOM_THIS(IDirectPlay2Impl,iface);
     2109  FIXME("(%p)->(0x%08lx,%p,%p,%p,0x%08lx): stub", This, a, b, c, d, e );
     2110  return DP_OK;
     2111}
     2112
     2113HRESULT WINAPI DirectPlay2WImpl_EnumGroupPlayers
     2114          ( LPDIRECTPLAY2 iface, DPID a, LPGUID b, LPDPENUMPLAYERSCALLBACK2 c,
     2115            LPVOID d, DWORD e )
     2116{
     2117  ICOM_THIS(IDirectPlay2Impl,iface);
     2118  FIXME("(%p)->(0x%08lx,%p,%p,%p,0x%08lx): stub", This, a, b, c, d, e );
     2119  return DP_OK;
     2120}
     2121
    19672122HRESULT WINAPI DirectPlay3A_EnumGroups
    19682123          ( LPDIRECTPLAY3A iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     
    19812136}
    19822137
     2138HRESULT WINAPI DirectPlay2A_EnumGroups
     2139          ( LPDIRECTPLAY2A iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     2140{
     2141  ICOM_THIS(IDirectPlay2Impl,iface);
     2142  FIXME("(%p)->(%p,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2143  return DP_OK;
     2144}
     2145
     2146HRESULT WINAPI DirectPlay2WImpl_EnumGroups
     2147          ( LPDIRECTPLAY2 iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     2148{
     2149  ICOM_THIS(IDirectPlay2Impl,iface);
     2150  FIXME("(%p)->(%p,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2151  return DP_OK;
     2152}
     2153
    19832154HRESULT WINAPI DirectPlay3A_EnumPlayers
    19842155          ( LPDIRECTPLAY3A iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     
    19932164{
    19942165  ICOM_THIS(IDirectPlay3Impl,iface);
     2166  FIXME("(%p)->(%p,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2167  return DP_OK;
     2168}
     2169
     2170HRESULT WINAPI DirectPlay2A_EnumPlayers
     2171          ( LPDIRECTPLAY2A iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     2172{
     2173  ICOM_THIS(IDirectPlay2Impl,iface);
     2174  FIXME("(%p)->(%p,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2175  return DP_OK;
     2176}
     2177
     2178HRESULT WINAPI DirectPlay2WImpl_EnumPlayers
     2179          ( LPDIRECTPLAY2 iface, LPGUID a, LPDPENUMPLAYERSCALLBACK2 b, LPVOID c, DWORD d )
     2180{
     2181  ICOM_THIS(IDirectPlay2Impl,iface);
    19952182  FIXME("(%p)->(%p,%p,%p,0x%08lx): stub", This, a, b, c, d );
    19962183  return DP_OK;
     
    20152202}
    20162203
     2204HRESULT WINAPI DirectPlay2A_EnumSessions
     2205          ( LPDIRECTPLAY2A iface, LPDPSESSIONDESC2 a, DWORD b, LPDPENUMSESSIONSCALLBACK2 c,
     2206            LPVOID d, DWORD e )
     2207{
     2208  ICOM_THIS(IDirectPlay2Impl,iface);
     2209  FIXME("(%p)->(%p,0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d, e );
     2210  return DP_OK;
     2211}
     2212
     2213HRESULT WINAPI DirectPlay2WImpl_EnumSessions
     2214          ( LPDIRECTPLAY2 iface, LPDPSESSIONDESC2 a, DWORD b, LPDPENUMSESSIONSCALLBACK2 c,
     2215            LPVOID d, DWORD e )
     2216{
     2217  ICOM_THIS(IDirectPlay2Impl,iface);
     2218  FIXME("(%p)->(%p,0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d, e );
     2219  return DP_OK;
     2220}
     2221
    20172222HRESULT WINAPI DirectPlay3A_GetCaps
    20182223          ( LPDIRECTPLAY3A iface, LPDPCAPS a, DWORD b )
     
    20312236}
    20322237
     2238HRESULT WINAPI DirectPlay2A_GetCaps
     2239          ( LPDIRECTPLAY2A iface, LPDPCAPS a, DWORD b )
     2240{
     2241  ICOM_THIS(IDirectPlay2Impl,iface);
     2242  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2243  return DP_OK;
     2244}
     2245
     2246HRESULT WINAPI DirectPlay2WImpl_GetCaps
     2247          ( LPDIRECTPLAY2 iface, LPDPCAPS a, DWORD b )
     2248{
     2249  ICOM_THIS(IDirectPlay2Impl,iface);
     2250  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2251  return DP_OK;
     2252}
     2253
    20332254HRESULT WINAPI DirectPlay3A_GetGroupData
    20342255          ( LPDIRECTPLAY3 iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     
    20472268}
    20482269
     2270HRESULT WINAPI DirectPlay2A_GetGroupData
     2271          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     2272{
     2273  ICOM_THIS(IDirectPlay2Impl,iface);
     2274  FIXME("(%p)->(0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2275  return DP_OK;
     2276}
     2277
     2278HRESULT WINAPI DirectPlay2WImpl_GetGroupData
     2279          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     2280{
     2281  ICOM_THIS(IDirectPlay2Impl,iface);
     2282  FIXME("(%p)->(0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2283  return DP_OK;
     2284}
     2285
    20492286HRESULT WINAPI DirectPlay3A_GetGroupName
    20502287          ( LPDIRECTPLAY3A iface, DPID a, LPVOID b, LPDWORD c )
     
    20632300}
    20642301
     2302HRESULT WINAPI DirectPlay2A_GetGroupName
     2303          ( LPDIRECTPLAY2A iface, DPID a, LPVOID b, LPDWORD c )
     2304{
     2305  ICOM_THIS(IDirectPlay2Impl,iface);
     2306  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2307  return DP_OK;
     2308}
     2309
     2310HRESULT WINAPI DirectPlay2WImpl_GetGroupName
     2311          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c )
     2312{
     2313  ICOM_THIS(IDirectPlay2Impl,iface);
     2314  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2315  return DP_OK;
     2316}
     2317
    20652318HRESULT WINAPI DirectPlay3A_GetMessageCount
    20662319          ( LPDIRECTPLAY3A iface, DPID a, LPDWORD b )
     
    20792332}
    20802333
     2334HRESULT WINAPI DirectPlay2A_GetMessageCount
     2335          ( LPDIRECTPLAY2A iface, DPID a, LPDWORD b )
     2336{
     2337  ICOM_THIS(IDirectPlay2Impl,iface);
     2338  FIXME("(%p)->(0x%08lx,%p): stub", This, a, b );
     2339  return DP_OK;
     2340}
     2341
     2342HRESULT WINAPI DirectPlay2WImpl_GetMessageCount
     2343          ( LPDIRECTPLAY2 iface, DPID a, LPDWORD b )
     2344{
     2345  ICOM_THIS(IDirectPlay2Impl,iface);
     2346  FIXME("(%p)->(0x%08lx,%p): stub", This, a, b );
     2347  return DP_OK;
     2348}
     2349
    20812350HRESULT WINAPI DirectPlay3A_GetPlayerAddress
    20822351          ( LPDIRECTPLAY3A iface, DPID a, LPVOID b, LPDWORD c )
     
    20952364}
    20962365
     2366HRESULT WINAPI DirectPlay2A_GetPlayerAddress
     2367          ( LPDIRECTPLAY2A iface, DPID a, LPVOID b, LPDWORD c )
     2368{
     2369  ICOM_THIS(IDirectPlay2Impl,iface);
     2370  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2371  return DP_OK;
     2372}
     2373
     2374HRESULT WINAPI DirectPlay2WImpl_GetPlayerAddress
     2375          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c )
     2376{
     2377  ICOM_THIS(IDirectPlay2Impl,iface);
     2378  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2379  return DP_OK;
     2380}
     2381
    20972382HRESULT WINAPI DirectPlay3A_GetPlayerCaps
    20982383          ( LPDIRECTPLAY3A iface, DPID a, LPDPCAPS b, DWORD c )
     
    21112396}
    21122397
     2398HRESULT WINAPI DirectPlay2A_GetPlayerCaps
     2399          ( LPDIRECTPLAY2A iface, DPID a, LPDPCAPS b, DWORD c )
     2400{
     2401  ICOM_THIS(IDirectPlay2Impl,iface);
     2402  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2403  return DP_OK;
     2404}
     2405
     2406HRESULT WINAPI DirectPlay2WImpl_GetPlayerCaps
     2407          ( LPDIRECTPLAY2 iface, DPID a, LPDPCAPS b, DWORD c )
     2408{
     2409  ICOM_THIS(IDirectPlay2Impl,iface);
     2410  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2411  return DP_OK;
     2412}
     2413
    21132414HRESULT WINAPI DirectPlay3A_GetPlayerData
    21142415          ( LPDIRECTPLAY3A iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     
    21272428}
    21282429
     2430HRESULT WINAPI DirectPlay2A_GetPlayerData
     2431          ( LPDIRECTPLAY2A iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     2432{
     2433  ICOM_THIS(IDirectPlay2Impl,iface);
     2434  FIXME("(%p)->(0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2435  return DP_OK;
     2436}
     2437
     2438HRESULT WINAPI DirectPlay2WImpl_GetPlayerData
     2439          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c, DWORD d )
     2440{
     2441  ICOM_THIS(IDirectPlay2Impl,iface);
     2442  FIXME("(%p)->(0x%08lx,%p,%p,0x%08lx): stub", This, a, b, c, d );
     2443  return DP_OK;
     2444}
     2445
    21292446HRESULT WINAPI DirectPlay3A_GetPlayerName
    21302447          ( LPDIRECTPLAY3 iface, DPID a, LPVOID b, LPDWORD c )
     
    21432460}
    21442461
     2462HRESULT WINAPI DirectPlay2A_GetPlayerName
     2463          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c )
     2464{
     2465  ICOM_THIS(IDirectPlay2Impl,iface);
     2466  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2467  return DP_OK;
     2468}
     2469
     2470HRESULT WINAPI DirectPlay2WImpl_GetPlayerName
     2471          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, LPDWORD c )
     2472{
     2473  ICOM_THIS(IDirectPlay2Impl,iface);
     2474  FIXME("(%p)->(0x%08lx,%p,%p): stub", This, a, b, c );
     2475  return DP_OK;
     2476}
     2477
    21452478HRESULT WINAPI DirectPlay3A_GetSessionDesc
    21462479          ( LPDIRECTPLAY3A iface, LPVOID a, LPDWORD b )
     
    21592492}
    21602493
     2494HRESULT WINAPI DirectPlay2A_GetSessionDesc
     2495          ( LPDIRECTPLAY2A iface, LPVOID a, LPDWORD b )
     2496{
     2497  ICOM_THIS(IDirectPlay2Impl,iface);
     2498  FIXME("(%p)->(%p,%p): stub", This, a, b );
     2499  return DP_OK;
     2500}
     2501
     2502HRESULT WINAPI DirectPlay2WImpl_GetSessionDesc
     2503          ( LPDIRECTPLAY2 iface, LPVOID a, LPDWORD b )
     2504{
     2505  ICOM_THIS(IDirectPlay2Impl,iface);
     2506  FIXME("(%p)->(%p,%p): stub", This, a, b );
     2507  return DP_OK;
     2508}
     2509
    21612510HRESULT WINAPI DirectPlay3A_Initialize
    21622511          ( LPDIRECTPLAY3A iface, LPGUID a )
     
    21752524}
    21762525
     2526HRESULT WINAPI DirectPlay2A_Initialize
     2527          ( LPDIRECTPLAY2A iface, LPGUID a )
     2528{
     2529  ICOM_THIS(IDirectPlay2Impl,iface);
     2530  FIXME("(%p)->(%p): stub", This, a );
     2531  return DP_OK;
     2532}
     2533
     2534HRESULT WINAPI DirectPlay2WImpl_Initialize
     2535          ( LPDIRECTPLAY2 iface, LPGUID a )
     2536{
     2537  ICOM_THIS(IDirectPlay2Impl,iface);
     2538  FIXME("(%p)->(%p): stub", This, a );
     2539  return DP_OK;
     2540}
     2541
    21772542
    21782543HRESULT WINAPI DirectPlay3A_Open
     
    21922557}
    21932558
     2559HRESULT WINAPI DirectPlay2A_Open
     2560          ( LPDIRECTPLAY2A iface, LPDPSESSIONDESC2 a, DWORD b )
     2561{
     2562  ICOM_THIS(IDirectPlay2Impl,iface);
     2563  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2564  return DP_OK;
     2565}
     2566
     2567HRESULT WINAPI DirectPlay2WImpl_Open
     2568          ( LPDIRECTPLAY2 iface, LPDPSESSIONDESC2 a, DWORD b )
     2569{
     2570  ICOM_THIS(IDirectPlay2Impl,iface);
     2571  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2572  return DP_OK;
     2573}
     2574
    21942575HRESULT WINAPI DirectPlay3A_Receive
    21952576          ( LPDIRECTPLAY3A iface, LPDPID a, LPDPID b, DWORD c, LPVOID d, LPDWORD e )
     
    22082589}
    22092590
     2591HRESULT WINAPI DirectPlay2A_Receive
     2592          ( LPDIRECTPLAY2A iface, LPDPID a, LPDPID b, DWORD c, LPVOID d, LPDWORD e )
     2593{
     2594  ICOM_THIS(IDirectPlay2Impl,iface);
     2595  FIXME("(%p)->(%p,%p,0x%08lx,%p,%p): stub", This, a, b, c, d, e );
     2596  return DP_OK;
     2597}
     2598
     2599HRESULT WINAPI DirectPlay2WImpl_Receive
     2600          ( LPDIRECTPLAY2 iface, LPDPID a, LPDPID b, DWORD c, LPVOID d, LPDWORD e )
     2601{
     2602  ICOM_THIS(IDirectPlay2Impl,iface);
     2603  FIXME("(%p)->(%p,%p,0x%08lx,%p,%p): stub", This, a, b, c, d, e );
     2604  return DP_OK;
     2605}
     2606
    22102607HRESULT WINAPI DirectPlay3A_Send
    22112608          ( LPDIRECTPLAY3A iface, DPID a, DPID b, DWORD c, LPVOID d, DWORD e )
     
    22242621}
    22252622
     2623HRESULT WINAPI DirectPlay2A_Send
     2624          ( LPDIRECTPLAY2A iface, DPID a, DPID b, DWORD c, LPVOID d, DWORD e )
     2625{
     2626  ICOM_THIS(IDirectPlay2Impl,iface);
     2627  FIXME("(%p)->(0x%08lx,0x%08lx,0x%08lx,%p,0x%08lx): stub", This, a, b, c, d, e );
     2628  return DP_OK;
     2629}
     2630
     2631HRESULT WINAPI DirectPlay2WImpl_Send
     2632          ( LPDIRECTPLAY2 iface, DPID a, DPID b, DWORD c, LPVOID d, DWORD e )
     2633{
     2634  ICOM_THIS(IDirectPlay2Impl,iface);
     2635  FIXME("(%p)->(0x%08lx,0x%08lx,0x%08lx,%p,0x%08lx): stub", This, a, b, c, d, e );
     2636  return DP_OK;
     2637}
     2638
    22262639HRESULT WINAPI DirectPlay3A_SetGroupData
    22272640          ( LPDIRECTPLAY3A iface, DPID a, LPVOID b, DWORD c, DWORD d )
     
    22402653}
    22412654
     2655HRESULT WINAPI DirectPlay2A_SetGroupData
     2656          ( LPDIRECTPLAY2A iface, DPID a, LPVOID b, DWORD c, DWORD d )
     2657{
     2658  ICOM_THIS(IDirectPlay2Impl,iface);
     2659  FIXME("(%p)->(0x%08lx,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d );
     2660  return DP_OK;
     2661}
     2662
     2663HRESULT WINAPI DirectPlay2WImpl_SetGroupData
     2664          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, DWORD c, DWORD d )
     2665{
     2666  ICOM_THIS(IDirectPlay2Impl,iface);
     2667  FIXME("(%p)->(0x%08lx,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d );
     2668  return DP_OK;
     2669}
     2670
    22422671HRESULT WINAPI DirectPlay3A_SetGroupName
    22432672          ( LPDIRECTPLAY3A iface, DPID a, LPDPNAME b, DWORD c )
     
    22562685}
    22572686
     2687HRESULT WINAPI DirectPlay2A_SetGroupName
     2688          ( LPDIRECTPLAY2A iface, DPID a, LPDPNAME b, DWORD c )
     2689{
     2690  ICOM_THIS(IDirectPlay2Impl,iface);
     2691  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2692  return DP_OK;
     2693}
     2694
     2695HRESULT WINAPI DirectPlay2WImpl_SetGroupName
     2696          ( LPDIRECTPLAY2 iface, DPID a, LPDPNAME b, DWORD c )
     2697{
     2698  ICOM_THIS(IDirectPlay2Impl,iface);
     2699  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2700  return DP_OK;
     2701}
     2702
    22582703HRESULT WINAPI DirectPlay3A_SetPlayerData
    22592704          ( LPDIRECTPLAY3A iface, DPID a, LPVOID b, DWORD c, DWORD d )
     
    22722717}
    22732718
     2719HRESULT WINAPI DirectPlay2A_SetPlayerData
     2720          ( LPDIRECTPLAY2A iface, DPID a, LPVOID b, DWORD c, DWORD d )
     2721{
     2722  ICOM_THIS(IDirectPlay2Impl,iface);
     2723  FIXME("(%p)->(0x%08lx,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d );
     2724  return DP_OK;
     2725}
     2726
     2727HRESULT WINAPI DirectPlay2WImpl_SetPlayerData
     2728          ( LPDIRECTPLAY2 iface, DPID a, LPVOID b, DWORD c, DWORD d )
     2729{
     2730  ICOM_THIS(IDirectPlay2Impl,iface);
     2731  FIXME("(%p)->(0x%08lx,%p,0x%08lx,0x%08lx): stub", This, a, b, c, d );
     2732  return DP_OK;
     2733}
     2734
    22742735HRESULT WINAPI DirectPlay3A_SetPlayerName
    22752736          ( LPDIRECTPLAY3A iface, DPID a, LPDPNAME b, DWORD c )
     
    22882749}
    22892750
     2751HRESULT WINAPI DirectPlay2A_SetPlayerName
     2752          ( LPDIRECTPLAY2A iface, DPID a, LPDPNAME b, DWORD c )
     2753{
     2754  ICOM_THIS(IDirectPlay2Impl,iface);
     2755  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2756  return DP_OK;
     2757}
     2758
     2759HRESULT WINAPI DirectPlay2WImpl_SetPlayerName
     2760          ( LPDIRECTPLAY2 iface, DPID a, LPDPNAME b, DWORD c )
     2761{
     2762  ICOM_THIS(IDirectPlay2Impl,iface);
     2763  FIXME("(%p)->(0x%08lx,%p,0x%08lx): stub", This, a, b, c );
     2764  return DP_OK;
     2765}
     2766
    22902767HRESULT WINAPI DirectPlay3A_SetSessionDesc
    22912768          ( LPDIRECTPLAY3A iface, LPDPSESSIONDESC2 a, DWORD b )
     
    23042781}
    23052782
     2783HRESULT WINAPI DirectPlay2A_SetSessionDesc
     2784          ( LPDIRECTPLAY2A iface, LPDPSESSIONDESC2 a, DWORD b )
     2785{
     2786  ICOM_THIS(IDirectPlay2Impl,iface);
     2787  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2788  return DP_OK;
     2789}
     2790
     2791HRESULT WINAPI DirectPlay2WImpl_SetSessionDesc
     2792          ( LPDIRECTPLAY2 iface, LPDPSESSIONDESC2 a, DWORD b )
     2793{
     2794  ICOM_THIS(IDirectPlay2Impl,iface);
     2795  FIXME("(%p)->(%p,0x%08lx): stub", This, a, b );
     2796  return DP_OK;
     2797}
     2798
    23062799HRESULT WINAPI DirectPlay3A_AddGroupToGroup
    23072800          ( LPDIRECTPLAY3A iface, DPID a, DPID b )
     
    23832876  return DP_OK;
    23842877}
     2878
    23852879
    23862880HRESULT WINAPI DirectPlay3A_GetGroupConnectionSettings
  • trunk/src/DPlayX/dplayx.def

    r941 r2193  
    66
    77EXPORTS
    8   DirectPlayCreate           = _DirectPlayCreate@16            @1
     8  DirectPlayCreate           = _DirectPlayCreate@12            @1
    99  DirectPlayEnumerateA       = _DirectPlayEnumerateA@8         @2
    10   DirectPlayEnumerateA       = _DirectPlayEnumerateA@8         @3
     10  DirectPlayEnumerateW       = _DirectPlayEnumerateW@8         @3
    1111  DirectPlayLobbyCreateA     = _DirectPlayLobbyCreateA@20      @4
    1212  DirectPlayLobbyCreateW     = _DirectPlayLobbyCreateW@20      @5
    13 ; DirectPlayEnumerate        = _DirectPlayEnumerate@?          @? 
     13; DirectPlayEnumerate        = _DirectPlayEnumerate@?          @?
  • trunk/src/DPlayX/makefile

    r1585 r2193  
    1 # $Id: makefile,v 1.2 1999-11-03 23:28:03 sandervl Exp $
     1# $Id: makefile,v 1.3 1999-12-24 01:25:00 hugh Exp $
    22
    33#
     
    2929        $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
    3030              $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \
    31               $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O) \
     31              $(PDWIN32_LIB)/odincrt.lib $(PDWIN32_LIB)/advapi32.lib \
     32              OS2386.LIB $(RTLLIB_O) \
    3233              $(PDWIN32_LIB)/ole32.lib $(PDWIN32_LIB)/msvfw32.lib
    3334        $(CP) $@ $(PDWIN32_BIN)
Note: See TracChangeset for help on using the changeset viewer.