OpenEA
Opens a file or directory for EA I/O
#include <\nlm\nit\nwextatt.h>
int OpenEA (
const char *path,
LONG reserved);
This function returns an EA handle if successful. Otherwise, it returns:
For cross-platform functionality, call NWOpenEA.
The EA I/O functions that use an EA handle are CloseEA, EnumerateEA, GetEAInfo, ReadEA, and WriteEA.
SetCurrentNameSpace sets the name space which is used for parsing the path input to this function.
If OpenEA fails, more information is available in NetWareErrno.
NOTE:OpenEA does not work on remote NetWare 3.x servers.
If an incorrect server name is passed, 252 (FCh) is returned. If an incorrect volume name is passed, 152 (98h) is returned. For both of these naming errors, errno and NetWareErrno are both set to zero.