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::SetPlayerName() ]     [ next: SetSessionDesc() ]     [ prev: SetPlayerData() ]

    public:

         virtual bool __fastcall SetPlayerName( DPID pPlayer, TDPName* pPlayerName, dword pFlags );





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

    • Description

        The SetPlayerName method is used to change or set the name of an existing player.

        Only the computer that created the player may modify its name.

        All other players will receive a DPMSG_SETPLAYERORGROUPNAME, provided DPSESSION_NODATAMESSAGES has not been set in the session description.

        Error values that can be generated are:

        DPERR_CONNECTIONLOST
        DPERR_INVALIDOBJECT
        DPERR_INVALIDPLAYER

    • Parameters

        Player
        The Player parameter identifies the player whose name is to be set.

        PlayerName
        The PlayerName parameter references a TDPName component holding the new name for the specified player.

        Set NULL if the player has no name information.

        Flags
        The Flags parameter defines flags indicating how to propagate the name.
        The described effect applies when the flag is set.

          DPSET_GUARANTEED
          The name is to be propagated with guaranteed messaging.

          DPSET_REMOTE must also be set.

          DPSET_LOCAL
          The name is to be used locally and will not be propagated.

          DPSET_REMOTE
          The name will be propagated to all the applications in the session.

          This is the default value.


    • 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.