Japanese
PROGRAMMER'S GUIDEStream system library
BackForward
stream system library

7.Function specification-6


7.6 Transfer information acquisition


 one
View
table
 Title

function specification

 Function

Obtaining the number of data in the transfer area

 Function name

STM_GetLenTrBuf

 No

6.1

Format
Sint32 STM_GetLenTrBuf(StmHn stm)
input
stm: stream handle
output
none
function value
Number of data (word unit)
function
Get the number of data (number of words) in the transfer area.

 one
View
table
 Title

function specification

 Function

Transfer area full check

 Function name

STM_IsTrBufFull

 No

6.2

Format
Bool STM_IsTrBufFull(StmHn stm)
input
stm: stream handle
output
none
function value
 TRUE
 : When the transfer area size has been reached
 FALSE
 : If the transfer area size has not been reached
function
Check whether the number of data in the transfer area has reached the area size.
remarks
The transfer area can be reset using STM_ResetTrBuf.

 one
View
table
 Title

function specification

 Function

Checks during transfer

 Function name

STM_IsTrans

 No

6.3

Format
Bool STM_IsTrans(StmHn stm)
input
stm: stream handle
output
none
function value
 TRUE
 :When transferring
 FALSE
 :If not being transferred
function
Check if transfer is in progress.

BackForward
PROGRAMMER'S GUIDEStream system library
Copyright SEGA ENTERPRISES, LTD., 1997