Sun Java System Web Server 7.0 NSAPI Developer's Guide

Returns

A positive number indicating the number of bytes successfully written, including the headers, file contents, and trailers. A negative value indicating an error.