NWCloseEA

Closes the specified Extended Attribute

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT*, Windows* 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Extended Attribute

Syntax

  #include <nwnamspc.h> 
  #include <nwea.h> 
  or 
  #include <nwcalls.h> 
   
  N_EXTERN_LIBRARY(NWCCODE) NWCloseEA  ( 
     const NW_EA_HANDLE  N_FAR  *EAHandle);
  

Delphi Syntax

  uses calwin32 
   
  Function NWCloseEA 
    (const EAHandle : pNW_EA_HANDLE 
  ) : NWCCODE;
  

Parameters

EAHandle
(IN) Points to NW_EA_HANDLE.

Return Values

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

0x0000

SUCCESSFUL

0x89CF

INVALID_EA_HANDLE

0x89D3

EA_VOLUME_NOT_MOUNTED

Remarks

NWCloseEA must be called to save any changes made to an Extended Attribute. NWCloseEA must be called after a complete Read and/or Write cycle, not after each read or write function. ( NWCloseEA should not be called after a find.)

NW_EA_HANDLE is referenced in all Extended Attribute functions. NW_EA_HANDLE is for internal use only; do not manipulate NW_EA_HANDLE in any way.

NCP Calls