NWSMGetOneName

Returns the first data set name from a buffer.

Syntax

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

Parameters

buffer

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

name

(OUT) Points to the data set name.

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

NWSMGetFirstName, NWSMGetNextName