Sets file information.
#define INCL_DOSFILEMGR #include <os2.h> HFILE hf; /* File handle. */ ULONG ulInfoLevel; /* Level of file information being set. */ PVOID pInfoBuf; /* Address of the storage area containing the structures for file information levels. */ ULONG cbInfoBuf; /* The length, in bytes, of pInfoBuf. */ APIRET ulrc; /* Return Code. */ ulrc = DosSetFileInfo(hf, ulInfoLevel, pInfoBuf, cbInfoBuf);