NWSMGetDataSetName

Returns the data set name in the specified name space type.

Syntax

  #include <smsutapi.h> 
   
  CCODE NWSMGetDataSetName ( 
     void HUGE                    *buffer, 
     UINT32                        nameSpaceType, 
     NWSM_DATA_SET_NAME HUGE  *name);
  

Parameters

buffer

(IN) Points to the NWSM_DATA_SET_NAME_LIST or NWSM_SELECTION_LIST structure and accompanying name list.

nameSpaceType

(IN) Specifies the name space type of name (see nameSpaceType Values).

name

(OUT) Points to the data set name as it appears in nameSpaceType.

Return Values

The following table lists the return values associated with the function.

0x00000000

Successful

0xFFFBFFFD

NWSMUT_INVALID_PARAMETER

0xFFFBFFFB

NWSMUT_OUT_OF_MEMORY

0xFFFBFFFC

NWSMUT_NO_MORE_NAMES

See Also

NWSMGetNextName