Int 21 Fn 5702 - Os/2 V1.1+ Family Api - Dosqfileinfo [O]
AX = 5702h
BX = file handle
CX = size of buffer for information
DX = level of information
0001h standard file information (see #1358)
0002h Query EA Size (see #1358)
0003h Query EAs from List (see #1359)
0004h Query All EAs (see #1359)
ES:DI -> buffer for information (see #1358,#1359)
Return: CF clear if successful
CF set on error
AX = error code
See Also: AX=5702h/BX=FFFFh,AX=5703h"OS/2",AH=6Dh"OS/2"
Format of OS/2 DosQFileInfo:
Offset Size Description (Table 1358)
00h WORD creation date
02h WORD creation time
04h WORD last access date
06h WORD last access time
08h WORD last write date
0Ah WORD last write time
0Ch DWORD file size in bytes
10h DWORD allocated space in bytes
14h WORD file attributes
---level 2 only---
16h DWORD size of Extended Attributes in byte
See Also: #1359,#1362
Format of OS/2 DosQFileInfo, EAOP structure:
Offset Size Description (Table 1359)
00h DWORD pointer to general EA list (see #1360)
04h DWORD pointer to buffer for full EA list, with length field set
08h DWORD (ret) error
Note: for info level 3, the first pointer must contain the address of a
list of the Extended Attributes to be retrieved; for info level 4,
it should be 0000h:0000h
See Also: #1358,#1362
Format of OS/2 DosQFileInfo, General EA List:
Offset Size Description (Table 1360)
00h DWORD (call) total size of list in bytes (including this field)
(ret) number of bytes actually used (including this field)
04h var Extended Attribute entries (see #1361) [packed arrray]
Format of OS/2 DosQFileInfo, General EA entry:
Offset Size Description (Table 1361)
00h BYTE length of Extended Attribute name (excluding terminating NUL)
01h N BYTEs EA name
BYTE 00h
See Also: #1360
Format of OS/2 DosQFileInfo, Full EA List:
Offset Size Description (Table 1362)
00h DWORD (call) total size of list in bytes (including this field)
(ret) number of bytes actually used (including this field)
04h var Extended Attribute data (see #1363) [packed array]
See Also: #1358,#1359
Format of OS/2 Extended Attribute data (struct FEA):
Offset Size Description (Table 1363)
00h BYTE flags
bit 7: critical EA
01h BYTE length of Extended Attribute name (excluding terminating NUL)
02h WORD length of Extended Attribute value
04h N BYTEs EA name
BYTE 00h
M BYTEs EA value