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::CreateCompoundAddress() ]     [ next: Destroy() ]     [ prev: CreateAddress() ]

    public:

         virtual bool __fastcall CreateCompoundAddress( TDPCompoundAddressElement* pElements, dword pElementCount, void* pAddress, dword* pAddressSize );





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

    • Description

        The CreateCompoundAddress method will create a TDx_Play address from a network address specific to a service provider.

        The resulting address is constructed from multiple data chunks identifying the service provider and includes a network address the service provider can understand.

        Error values that can be generated are:

        DPERR_BUFFERTOOSMALL
        DPERR_INVALIDFLAGS
        DPERR_INVALIDPARAMS

    • Parameters

        Elements
        The Elements parameter references first TDPCompoundAddressElement component in the array being used to construct the TDx_Play address.

        ElementCount
        The ElementCount parameter defines the number of elements in the Elements array.

        Address
        The Address parameter will reference the newly created address if this method returns successfully.

        Set NULL to retrieve the required buffer size in the AddressSize parameter.

        AddressSize
        The AddressSize parameter references the size, in bytes, of the Address buffer

        Before the call, set this to the size of the Address buffer.
        After the call, it will indicate how many bytes were written to the Address buffer.
        If the Address buffer was too small, this parameter will be set to the required size and DPERR_BUFFERTOOSMALL returned.


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