SOGetScanLineBuffer

Retrieves the address of the buffer for storing the current scan line.

This function is called from the VwStreamReadFunc function for each scan line produced.

This function sets the variable pointed to by ppScanLineData to the address where the scan line data should be built.

WORD SOGetScanLineBuffer(

VOID VWPTR *ppScanLineData,  
HPROC reserved  
);  

Parameters

ppScanLineData

Address of the variable that receives the address of the scan line data buffer.

reserved

Reserved; do not use.

Return Values

Returns the size, in bytes, of the scan line data buffer. The size is the maximum number of bytes that may be accessed using the returned address and is guaranteed to be sufficient to hold a scan line as wide as the entire tile.