DosOpen2
DosOpen2
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 DosOpen2:FAR
INCL_DOSFILEMGR EQU 1
PUSH@ ASCIIZ FileName ;File path name string
PUSH@ WORD FileHandle ;File handle (returned)
PUSH@ WORD ActionTaken ;Action taken (returned)
PUSH DWORD FileSize ;File primary allocation
PUSH WORD FileAttribute ;File Attribute
PUSH WORD OpenFlag ;Open function type
PUSH DWORD OpenMode ;Open mode of the file
PUSH@ OTHER EABuf ;Extended attribute buffer
PUSH DWORD 0 ;Reserved (must be zero)
CALL DosOpen2
Returns WORD
[Back: DosOpen]
[Next: DosOpenQueue]