NWOpenEA(3nw)


NWOpenEA -- fills NW_EA_HANDLE

Synopsis

   #include <nwnamspc.h> 
   #include <nwea.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWOpenEA (NWCONN_HANDLE conn, NWDIR_HANDLE dirHandle, pnstr8 path, pnstr8 EAName, nuint8 nameSpace, NW_EA_HANDLE N_FAR * EAHandle);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

dirHandle
(IN) Specifies the NetWare directory handle pointing to the directory to search.

path
(IN) Points to a path.

EAName
(IN) Points to the string containing the name of the EA.

nameSpace
(IN) Specifies the name space of the Extended Attribute.

EAHandle
(IN/OUT) Points to NW_EA_HANDLE containing the handle of the current EA.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8998
VOLUME_DOES_NOT_EXIST

0x899B
BAD_DIRECTORY_HANDLE

0x899C
INVALID_PATH

Notices

NWOpenEA combines the functionality of NWGetDirectoryBase and NWGetEAHandleStruct in one function.

NWFindFirstEA and NWFindNextEA also return NW_EA_HANDLE, properly filled in.

Services

Extended Attributes

NCP calls

0x2222 87 22
Generate Directory Base and Volume Number

References

NWNSGetMiscInfo(3nw), NWGetDirectoryBase(3nw), NWGetEAHandleStruct(3nw), NWReadEA(3nw), NWWriteEA(3nw), NWFindFirstEA(3nw), NWFindNextEA(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.