NWFindNextEAExt

Returns the NW_EA_HANDLE_EXT structure for the next Extended Attribute

Local Servers:blocking
Remote Servers:blocking
NetWare Server:6.5 SP2 or later
Platform:NLM, Windows 2000, Windows XP
Client:4.90 SP2 or later
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Extended Attribute

Syntax

  #include <nwnamspc.h> 
  #include <nwea.h> 
  or 
  #include <nwcalls.h> 
   
  N_EXTERN_LIBRARY(NWCCODE) NWFindNextEA ( 
     NW_EA_FF_STRUCT_EXT  N_FAR  *ffStruct,  
     NW_EA_HANDLE_EXT     N_FAR  *EAHandle,  
     pnstr8                       EAName);
  

Parameters

ffStruct
(IN/OUT) Points to the NW_EA_FF_STRUCT_EXT structure returned by the NWFindFirstEAExt function.
EAHandle
(OUT) Points to the NW_EA_HANDLE_EXT structure.
EAName
(OUT) Points to the name of the Extended Attribute (optional).

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x0001

EA_DONE

0x88F0

UTF8_CONVERSION_FAILED

0x8996

ERR_NO_ALLOC_SPACE

0x89C9

ERR_EA_NOT_FOUND

0x89CF

ERR_INVALID_EA_HANDLE

0x89D1

ERR_EA_ACCESS_DENIED

0x89FB

ERR_UNKNOWN_REQUEST

0x89FF

ERR_BAD_PARAMETER

Remarks

Before calling NWFindNextEAExt, you must call the NWFindFirstEAExt function. NWFindNextEAExt can then be called multiple times until all EAs have been found. EA_DONE is returned when there are no more EAs.

With a NW_EA_HANDLE_EXT structure, you can also call the NWReadEAExt and/or NWWriteEA function. Therefore, do not call the NWGetEAHandleStructExt function after the NWFindFirstEAExt function in order initialize a Read or Write.

If you do call the NWGetEAHandleStructExt function in preparation for a Write, use the EAName parameter. When you copy by calling either the NWFindFirstEAExt or NWFindNextEAExt function, the EAName parameter must be used. If the EAName parameter is not needed, pass NULL.

The NW_EA_FF_STRUCT_EXT structure is used by the NWFindFirstEAExt and NWFindNextEAExt functions to return a handle to the first or next Extended Attribute.

NOTE:The NW_EA_HANDLE_EXT and NW_EA_FF_STRUCT_EXT structures are for internal use only; do not manipulate these structures in any way.

NCP Calls

See Also

NWFindFirstEAExt, NWGetEAHandleStructExt, NWReadEAExt, NWWriteEAExt