Function 70, subfunction 8 - delete file/folder.
Parameters:
- eax = 70 - function number
- ebx = pointer to the information structure
Format of the information structure:
- +0: dword: 8 = subfunction number
- +4: dword: 0 (reserved)
- +8: dword: 0 (reserved)
- +12 = +0xC: dword: 0 (reserved)
- +16 = +0x10: dword: 0 (reserved)
- +20 = +0x14: ASCIIZ-name of file, the rules of names forming are
given in the general description
or
- +20 = +0x14: db 0
- +21 = +0x15: dd pointer to ASCIIZ-string with file name
Returned value:
Remarks:
- The function is not supported for CD (returns error code 2).
- The function can delete only empty folders (attempt to delete
nonempty folder results in error with code 10, "access denied").