NWSMGetSessionHeaderInfo

Separates an SIDF session header into it various components.

Syntax

  #include <smsutapi.h> 
   
  CCODE NWSMGetSessionHeaderInfo ( 
     BUFFERPTR              headerBuffer, 
     UINT32                 headerBufferSize, 
     NWSM_SESSION_INFO  *sessionInfo);
  

Parameters

headerBuffer

(IN) Points to the buffer containing the SIDF session header data that can be returned by NWSMSDOpenSessionForReading.

headerBufferSize

(IN) Specifies the size of headerBuffer in bytes.

sessionInfo

(OUT) Points to the unformatted session information.

Return Values

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

0x00000000

Successful

0xFFFBFFFA

NWSMUT_BUFFER_OVERFLOW

0xFFFBFFF9

NWSMUT_INVALID_FIELD_ID

0xFFFBFFF0

NWSMUT_BUFFER_UNDERFLOW