NWSMGetListHead

Returns the first element in a list.

Syntax

  #include <smsutapi.h> 
   
  NWSM_LIST *NWSMGetListHead ( 
     NWSM_LIST_PTR  *listPtr);
  

Parameters

listPtr

(IN) Points to a list initialized by NWSMInitList (cannot be a NULL pointer).

Return Values

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

0x00000000

Successful

Nonzero

Points to the first element in the list.

NULL

The list is empty.