The DlnSpiMasterReadWrite()
function sends and receives data via SPI bus. The received and sent data are arrays of 1-byte elements. This function is suited to transmit data frames of 8 bits or less. In case you set a frame size more than 8 bits, it is advised to use the DlnSpiMasterReadWrite16() [1] function.
Links:
[1] http://dlnware.com/dll/DlnSpiMasterReadWrite16
[2] http://dlnware.com/dll/DlnSpiMasterGetPortCount
[3] http://dlnware.com/dll/DlnSpiMasterEnable