VwStreamSectionFuncVwStreamSectionFunc*
*Contents  *Index  *Topic Contents
*Previous Topic: VwStreamReadRecordFunc
*Next Topic: VwStreamSeekFunc

VwStreamSectionFunc

Sets the parameters for a section.

Syntax


INT VwStreamSectionFunc(
    SOFILE hFile,  
    HPROC reserved 
);

Parameters

hFile
Handle to the file for execute input and output (XIO) routines.
reserved
Reserved; do not use.

Return Value


Always returns zero.

Remarks


At a minimum, this function should call the SOPutSectionType and SOPutSectionName functions to set the section type and name. The function should also set the cell width if the section is a spreadsheet or the field format if the section is a database.

The display engine calls the function after calling the VwStreamOpenFunc function but before calling the VwStreamReadFunc function. It is also called after any VwStreamReadFunc that ends with a call to the SOPutBreak function with the SO_SECTIONBREAK value.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.