SMDFSetUINT32Data

Copies four or less bytes from a buffer to a UINT32 variable.

Syntax

  #include <smsutapi.h> 
   
  CCODE SMDFSetUINT32Data ( 
     UINT64     *dataSize, 
     BUFFERPTR   buffer, 
     UINT32     *data);
  

Parameters

dataSize

(IN) Points to the number of bytes the data size occupies (maximum of 4).

buffer

(IN) Points to the data to copy to data.

data

(OUT) Points to the data from buffer.

Return Values

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

0x00000000

Successful

0xFFFBFFFA

NWSMUT_BUFFER_OVERFLOW: dataSize is more than 4.