DosEnumAttribute
DosEnumAttribute
DENA1 struc ;level 1 info returned from
; DosEnumAttribute
level_reserved db ? ;0
level_cbName db ? ;length of name excluding NULL
level_cbValue dw ? ;length of value
level_szName db 1 dup (?) ;variable length asciiz name
DENA1 ends
EXTRN DosEnumAttribute:FAR
INCL_DOSFILEMGR EQU 1
PUSH WORD RefType ;Type of reference
PUSH@ OTHER FileRef ;Handle or Name
PUSH DWORD EntryNum ;Starting entry in EA list
PUSH@ OTHER EnumBuf ;Data buffer (returned)
PUSH DWORD EnumBufSize ;Data buffer size
PUSH@ DWORD EnumCnt ;Count of entries to return
PUSH DWORD InfoLevel ;Level of information requested
PUSH DWORD 0 ;Reserved (must be zero)
CALL DosEnumAttribute
[Back: DosEnterCritSec]
[Next: DosErrClass]