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_PlayLobby::SendLobbyMessage() ]     [ next: SetConnectionSettings() ]     [ prev: RunApplication() ]

    public:

         virtual bool __fastcall SendLobbyMessage( dword pFlags, dword pAppID, void* pData, dword pDataSize );





    -= Go to the TDx_PlayLobby description =-    TDX_PLAYLOBBY::SENDLOBBYMESSAGE()   [ component method ]

    • Description
    • Parameters

        Flags
        The Flags parameter defines flags indicating the type of message being sent.
        The described effect applies when the flag is set.

        The default setting of zero indicates an application defined message is being sent.

          DPLMSG_STANDARD
          The message is a standard DirectPlay defined message.

        AppID
        The AppID parameter identifies the destination application for the message.

        Set zero when the method is called from an application.
        This is the identifier returned by TDx_PlayLobby::RunApplication().

        Data
        The Data parameter references the message data to be sent.

        The standard DirectX message structures used when DPLMSG_STANDARD is set are:

        typedef struct {
        dword Type;
        dword RequestID;
        GUID Player;
        GUID PropertyTag;
        } TDPLMSG_GetProperty, FAR *LPDPLMSG_GetProperty;


        typedef struct {
        dword Type;
        dword RequestID;
        GUID Player;
        GUID PropertyTag;
        dword DataSize;
        dword PropertyData[1];
        } TDPLMSG_SetProperty, FAR *LPDPLMSG_SetProperty;

        For the above structures, the following descriptions apply to their members.

        Type
        The type of system message that is being sent.
        Possible values are DPLSYS_GETPROPERTY and DPLSYS_SETPROPERTY respectivly.
        A system DPLSYS_GETPROPERTYRESPONSE or DPLSYS_SETPROPERTYRESPONSE will be triggered.

        RequestID
        An application defined unique identifier used to match requests to lobby responses.

        Player
        The GUID of the player the property applies to.
        Non player specific information will have this set to GUID_NULL.

        PropertyTag
        The GUID of the property being set. Standard DirectX properties are:

        DPLPROPERTY_LobbyGuid
        DPLPROPERTY_MessagesSupported
        DPLPROPERTY_PlayerGuid
        DPLPROPERTY_PlayerScore

        DataSize
        The size of the property data.

        PropertyData
        A buffer of information that is to be interpreted based on the PropertyTag member.

        DataSize
        The DataSize parameter defines the size, in bytes, of the Data buffer.


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