NXDirAttrWithName_t

Contains the object's name and is used when the level of information is set to NX_DELEVEL_NAME_ONLY.

Service:File and Directory

Structure

  #include <nks/dirio.h>
  
  typedef struct 
  {
     NXDeHeader_t   deHeader;
     void          *deName;
  } NXDirAttrWithName_t;
  

Fields

deHeader

Specifies an embedded structure of type NXDeHeader_t, which specifies the pathname format and the object's type.

deName

Points to the object's name. The maximum length of this buffer is dependent upon the pathname format.

Remarks

When NXGetAttr or NXGetAttrWithHandle have level set to NX_DELEVEL_NAME_ONLY, the buffer parameter should point to a NXDirAttrWithName_t structure.

The buffer must be large enough to hold both this structure and the object's name. The deName field is set to point to the object's name.