Contents Index Topic Contents | ||
Previous Topic: SOGetInfo Next Topic: SOPutBitmapHeader |
SOGetScanLineBuffer
Retrieves the address of the buffer for storing the current scan line.
Syntax
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 Value
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.
Remarks
This function is called from the VwStreamReadFunc function for each scan line produced.
The SOGetScanLineBuffer function sets the variable pointed to by ppScanLineData to the address where the scan line data should be built.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.