Sets information for a file or directory.
#define INCL_DOSFILEMGR
#include <os2.h>
PSZ pszPathName; /* Address of the ASCIIZ full path name of the file or subdirectory. */
ULONG ulInfoLevel; /* The level of file directory information being defined. */
PVOID pInfoBuf; /* Address of the storage area containing the file information being set. */
ULONG cbInfoBuf; /* The length, in bytes, of pInfoBuf. */
ULONG flOptions; /* Information on how the set operation is to be performed. */
APIRET ulrc; /* Return Code. */
ulrc = DosSetPathInfo(pszPathName, ulInfoLevel,
pInfoBuf, cbInfoBuf, flOptions);