Sun Java System Web Proxy Server 4.0.3 2006Q2 NSAPI Developer's Guide

Returns

0 if the directory was changed, or -1 if the directory could not be changed.