Joins two paths together.
#include <smstsapi.h> CCODE NWSMTSCatDataSetName ( UINT32 connection, UINT32 nameSpaceType, STRING dataSetName, STRING terminalName, NWBOOLEAN terminalNameIsParent, STRING_BUFFER **newDataSetName);
(IN) Specifies the connection information returned by NWSMTSConnectToTargetService or NWSMTSConnectToTargetServiceEx.
(IN) Specifies the name space type of the names to concatenate (see nameSpaceType Values).
(IN) Specifies the data set name to append to.
(IN) Specifies the data set's name (parent or child name only) to append to dataSetName.
(IN) Specifies if terminalName is a parent or child:
(OUT) Points to the concatenated path.
See Section 9.3, Target Service Return Values for more information.
The following table lists the return values associated with the function.
NWSMTSCatDataSetName appends a terminal name onto an existing path. If terminalName is a parent, the appropriate delimiter for that namespace is appended to the end of the string. If terminalName is a parent, and if the Target Service requires it, a separator is placed at the end of newDataSetName.
newDataSetName must point to a valid structure or NULL. NWSMTSCatDataSetName allocates memory if NULL is passed, or allocates a larger memory block if the structure does not have enough space.
The engine should call NWSMFreeString to deallocate newDataSetName .