Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Play_Library v2.00 Component Reference
|
|
[ TDx_PlayLobby::CreateCompoundAddress() ]
[ next: Destroy() ]
[ prev: CreateAddress() ]
public:
virtual bool __fastcall CreateCompoundAddress( TDPCompoundAddressElement* pElements, dword pElementCount, void* pAddress, dword* pAddressSize );
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.
|
|