DosSetPathInfo

DosSetPathInfo

typedef struct _GEA {       /* gea */
 
  BYTE cbName;            /* name length not including NULL */
  CHAR szName[1];         /* attribute name */
 
} GEA;

typedef struct _GEALIST {   /* geal */
 
  ULONG  cbList;          /* total bytes of structure including full list */
  GEA list[1];            /* variable length GEA structures */
 
} GEALIST;

typedef struct _FEA {       /* fea */
 
  BYTE fEA;               /* flags */
  BYTE cbName;            /* name length not including NULL */
  USHORT cbValue;         /* value length */
 
} FEA;

typedef struct _FEALIST {   /* feal */
 
  ULONG  cbList;          /* total bytes of structure including full list */
  FEA list[1];            /* variable length FEA structures */
 
} FEALIST;

typedef struct _EAOP {      /* eaop */
 
  PGEALIST fpGEAList;     /* general EA list */
  PFEALIST fpFEAList;     /* full EA list */
  ULONG  oError;
 
} EAOP;

#define INCL_DOSFILEMGR

USHORT  rc = DosSetPathInfo(PathName, PathInfoLevel, PathInfoBuf,
                              PathInfoBufSize, PathInfoFlags, 0);

PSZ              PathName;        /* File or directory path name string */
USHORT           PathInfoLevel;   /* Info data type */
PBYTE            PathInfoBuf;     /* Info buffer  */
USHORT           PathInfoBufSize; /* Info buffer size */
USHORT           PathInfoFlags;   /* Path info flags */
ULONG            0;               /* Reserved (must be zero)  */

USHORT           rc;              /* return code */


[Back: DosSetNmPipeSem]
[Next: DosSetProcCp]