NWFindNextEAExt
Returns the NW_EA_HANDLE_EXT structure for the next Extended Attribute
#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);
These are common return values; see Return Values (Return Values for C) for more information.
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.