◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc mov esi, Filename ; points to filename to add VMMcall Set_Delete_On_Exit_File jc not_added ; carry set on error The Set_Delete_On_Exit_File service adds the specified filename to the list of files to delete when Windows terminates. This service is for the exclusive use of the virtual pagefile device; other virtual devices must not use this service. Parameter Description ──────────────────────────────────────────────────────────────────────────── Filename Specifies a null-terminated string identifying the file to delete. The string must specify a drive letter and full path. Return Value The carry flag is clear if the service adds the file to the list. Otherwise, the carry flag is set. Uses All registers except EBX, EBP, and the segment registers. ♦