Returns the number of path nodes and separators, and the beginning position of each path node and separator for a specified path.
#include <smstsapi.h> CCODE NWSMTSParseDataSetName ( UINT32 connection, UINT32 nameSpaceType, STRING dataSetName, UINT16 *count, UINT16_BUFFER **namePositions, UINT16_BUFFER **separatorPositions);
(IN) Specifies the connection information returned by NWSMTSConnectToTargetService or NWSMTSConnectToTargetServicEx.
(IN) Specifies the name space type of dataSetName (see nameSpaceType Values)
(IN) Specifies the data set name to be parsed.
(OUT) Points to the number of nodes and separators in dataSetName (the size of the namePositions and separatorPositions buffers).
(OUT) Points to an array of indexes containing the beginning of each node in dataSetName.
(OUT) Points to an array of indexes containing the beginning of each separator in dataSetName.
See Section 9.3, Target Service Return Values for more information.
The following table lists the return values associated with the function.
NWSMTSParseDataSetName parses a data set name and returns the number of nodes and separators and a list of indexes to each node and separator (see Path Information).
NWSMTSParseDataSetName can be called when the engine needs to pass a path to the NWSM_DATA_SET_NAME_LIST or NWSM_SELECTION_LIST structure.