VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Play_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_Play::EnumConnections() ]     [ next: EnumGroupPlayers() ]     [ prev: DestroyPlayer() ]

    public:

         virtual bool __fastcall EnumConnections( const GUID* pApplication, void* pContext, dword pFlags );





    -= Go to the TDx_Play description =-    TDX_PLAY::ENUMCONNECTIONS()   [ component method ]

    • Description

        The EnumConnections method will enumerate available registered service and lobby providers.

        The order of enumeration is indeterminate and the TDx_Play::OnEnumConnections() event will be called for each connection enumerated.

        Some enumerated providers may not be available for use, check the TDx_Play::InitializeConnection() return values to be sure, an error will be returned if the connection is unavailable.
        For example, a modem service provider would still be enumerated even if the modem is not attached to the system.

        Error values that can be generated are:

        DPERR_CONNECTIONLOST
        DPERR_INVALIDFLAGS
        DPERR_INVALIDPARAMS

    • Parameters

        Application
        The Application parameter references the application identifier.

        Setting NULL results in all connections being enumerated, otherwise only connections usable by the specified application will be enumerated.

        Context
        The Context parameter references application defined data to be passed to the callback function for each enumeration.

        Flags
        The Flags parameter defines flags indicating the connection types that are to be enumerated.
        The described effect applies when the flag is set.

        The default setting of zero gives the same results as DPCONNECTION_DIRECTPLAY.

          DPCONNECTION_DIRECTPLAY
          DirectPlay service providers for communicating within application sessions are to be enumerated.


          DPCONNECTION_DIRECTPLAYLOBBY
          DirectPlayLobby providers for communicating with lobby servers are to be enumerated.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.