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::GetMessageQueue() ]     [ next: GetPlayerAccount() ]     [ prev: GetMessageCount() ]

    public:

         virtual bool __fastcall GetMessageQueue( DPID pFrom, DPID pTo, dword pFlags, dword* pNumMsgs, dword* pNumBytes );





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

    • Description

        The GetMessageQueue method retrieves how many messages are on the local send or receive queues for the session.

        On slower networks, this information can be used to regulate network usage.
        These message queues are for all local players in the session, not neccessarily individual players.

        Error values that can be generated are:

        DPERR_INVALIDFLAGS
        DPERR_INVALIDPARAMS
        DPERR_INVALIDPLAYER
        DPERR_UNSUPPORTED

    • Parameters

        From
        The From parameter identifies the player who has sent the messages.

        Setting zero obtains the number of messages recieved from all players.

        To
        The To parameter identifies the player who is to receive the messages.

        Setting zero obtains the number of messages sent to all players.


        Flags
        The Flags parameter defines flags indicating which queue's information is the be retrieved.

        The default value of zero is equivilent to DPMESSAGEQUEUE_SEND.

          DPMESSAGEQUEUE_RECEIVE
          Retrieve receive queue information.

          DPMESSAGEQUEUE_SEND should not also be set.

          DPMESSAGEQUEUE_SEND
          Retrieve send queue information.

          DPMESSAGEQUEUE_RECEIVE should not also be set.

        NumMsgs
        The NumMsgs parameter will reference the number of messages in the requested queue.

        Set NULL if the number of messages is not required.

        NumBytes
        The NumMsgs parameter will reference the number of bytes in the requested queue.

        Set NULL if the queue size is not required.


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