DosSetFileInfo
DosSetFileInfo
FDATE struc
fdate_fs dw ?
FDATE ends
FTIME struc
ftime_fs dw ?
FTIME ends
FILESTATUS struc
fsts_fdateCreation dw (size FDATE)/2 dup (?) ;date of file creation
fsts_ftimeCreation dw (size FTIME)/2 dup (?) ;time of file creation
fsts_fdateLastAccess dw (size FDATE)/2 dup (?) ;date of last access
fsts_ftimeLastAccess dw (size FTIME)/2 dup (?) ;time of last access
fsts_fdateLastWrite dw (size FDATE)/2 dup (?) ;date of last write
fsts_ftimeLastWrite dw (size FTIME)/2 dup (?) ;time of last write
fsts_cbFile dd ? ;file size (end of data)
fsts_cbFileAlloc dd ? ;file allocated size
fsts_attrFile dw ? ;attributes of the file
FILESTATUS ends
GEA struc
gea_cbName db ? ;name length not including NULL
gea_szName db 1 dup (?) ;attribute name
GEA ends
GEALIST struc
geal_cbList dd ? ;total bytes of structure including full list
geal_list db size GEA * 1 dup (?) ;variable length GEA structures
GEALIST ends
FEA struc
fea_fEA db ? ;flags
fea_cbName db ? ;name length not including NULL
fea_cbValue dw ? ;value length
FEA ends
FEALIST struc
feal_cbList dd ? ;total bytes of structure including full list
feal_list db size FEA * 1 dup (?) ;variable length FEA structures
FEALIST ends
EAOP struc
eaop_fpGEAList dd ? ;general EA list
eaop_fpFEAList dd ? ;full EA list
eaop_oError dd ? ;
EAOP ends
EXTRN DosSetFileInfo:FAR
INCL_DOSFILEMGR EQU 1
PUSH WORD FileHandle ;File handle
PUSH WORD FileInfoLevel ;File info data required
PUSH@ OTHER FileInfoBuf ;File info buffer
PUSH WORD FileInfoBufSize ;File info buffer size
CALL DosSetFileInfo
Returns WORD
[Back: DosSetFHandState]
[Next: DosSetFileMode]