Sun Java System Web Server 6.1 SP12 NSAPI Programmer's Guide

Returns

0 if the close succeeded, or the constant IO_ERROR if the close failed.