SOBailOut

Allows the file parser to return an error condition.

The parser should return from the VwReadStreamFunc function as soon as possible after this function is called.

VOID SOBailOut(

WORD wError,  
HPROC reserved  
);  

Parameters

wError

Error flag. This parameter can be one of these values:

SOERROR_BADFILE Invalid file format
SOERROR_EOF Unexpected end of file (EOF)
SOERROR_GENERAL Unspecified error

reserved

Reserved; do not use.

Return Values

None.