Platform SDK: Win32 API |
Retrieves information about the specified file.
mov ax, 71a6h ; Get File Info By Handle mov bx, Handle ; see below mov dx, seg lpFileInfo ; see below mov ds, dx mov dx, offset lpFileInfo stc ; must set carry flag int 21h jnc success cmp ax, 7100h je not_supported
Clears the carry flag if successful. Otherwise, the function sets the carry flag and sets the AX register to an error value.