Returns a pointer to data at the beginning of the list.
Parameters
hList
is a handle to the list.
Returns
On success the function returns a pointer to data at the beginning of the list. On failure the function returns NULL. See remarks.
Remarks
The list is not thread-safe.
If the first element stores a NULL pointer, the function returns NULL just like on failure. To avoid ambiguity set the last chsvlib error code to CHSVERROR_SUCCESS before calling the function. On failure the function would set the last chsvlib error code according to the failure.