Sun Java System Web Proxy Server 4.0.2 2005Q4 NSAPI Developer's Guide

Returns

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