VirtualBox Main API

Public Attributes | List of all members
IGuestFile Interface Reference

Implementation of the IFile object for files in the guest. More...

Inheritance diagram for IGuestFile:

## Public Attributes
readonly attribute boolean | midlDoesNotLikeEmptyInterfaces
Public Attributes inherited from IFile
readonly attribute IEventSource | eventSource
| Event source for file events. More...
readonly attribute unsigned long | id
| The ID VirtualBox internally assigned to the open file. More...
readonly attribute long long | initialSize
| The initial size in bytes when opened. More...
readonly attribute long long | offset
| The current file position. More...
readonly attribute FileStatus | status
| Current file status. More...
readonly attribute wstring | fileName
| Full path of the actual file name of this file. More...
readonly attribute unsigned long | creationMode
| The UNIX-style creation mode specified when opening the file. More...
readonly attribute FileOpenAction | openAction
| The opening action specified when opening the file. More...
readonly attribute FileAccessMode | accessMode
| The file access mode. More...

## Additional Inherited Members
Public Member Functions inherited from IFile
void | close ()
| Closes this file. More...
void | queryInfo ([retval] out IFsObjInfo objInfo)
| Queries information about this file. More...
void | querySize ([retval] out long long size)
| Queries the current file size. More...
void | read (in unsigned long toRead, in unsigned long timeoutMS, [retval] out octet[] data)
| Reads data from this file. More...
void | readAt (in long long offset, in unsigned long toRead, in unsigned long timeoutMS, [retval] out octet[] data)
| Reads data from an offset of this file. More...
void | seek (in long long offset, in FileSeekOrigin whence, [retval] out long long newOffset)
| Changes the current file position of this file. More...
void | setACL (in wstring acl, in unsigned long mode)
| Sets the ACL of this file. More...
void | setSize (in long long size)
| Changes the file size. More...
void | write (in octet[] data, in unsigned long timeoutMS, [retval] out unsigned long written)
| Writes bytes to this file. More...
void | writeAt (in long long offset, in octet[] data, in unsigned long timeoutMS, [retval] out unsigned long written)
| Writes bytes at a certain offset to this file. More...

## Detailed Description

Implementation of the IFile object for files in the guest.

Interface ID:
  `{92F21DC0-44DE-1653-B717-2EBF0CA9B664}`

## Member Data Documentation

## ◆ midlDoesNotLikeEmptyInterfaces

readonly attribute boolean IGuestFile::midlDoesNotLikeEmptyInterfaces