DosEnumAttribute

DosEnumAttribute

typedef struct _DENA1 {  /* level 1 info returned from DosEnumAttribute */
  UCHAR  reserved;       /* 0                                           */
  UCHAR  cbName;         /* length of name excluding NULL               */
  USHORT cbValue;        /* length of value                             */
  UCHAR  szName[1];      /* variable length asciiz name                 */
} DENA1;

#define INCL_DOSFILEMGR

USHORT  rc = DosEnumAttribute(RefType, FileRef, EntryNum, EnumBuf,
                               EnumBufSize, EnumCnt, InfoLevel, Reserved);

USHORT           RefType;       /* Type of reference  */
PVOID            FileRef;       /* Handle or Name  */
ULONG            EntryNum;      /* Starting entry in EA list  */
PVOID            EnumBuf;       /* Data buffer  */
ULONG            EnumBufSize;   /* Data buffer size  */
PULONG           EnumCnt;       /* Count of entries to return  */
ULONG            InfoLevel;     /* Level of information requested  */
ULONG            0;             /* Reserved (must be zero)  */

USHORT           rc;            /* return code */  */


[Back: DosEnterCritSec]
[Next: DosErrClass]