Public Member Functions | Public Attributes

# IDirectory Interface Reference

Abstract parent interface for directories handled by VirtualBox. More...

Inheritance diagram for IDirectory:

List of all members.

## Public Member Functions
void | close ()
| Closes this directory.
void | read ([retval] out IFsObjInfo objInfo)
| Reads the next directory entry of this directory.
## Public Attributes
readonly attribute wstring | directoryName
| Full path of directory.
readonly attribute wstring | filter
| The open filter.

## Detailed Description

Abstract parent interface for directories handled by VirtualBox.

Interface ID:
  `{1B70DD03-26D7-483A-8877-89BBB0F87B70}`

## Member Function Documentation

void IDirectory::close | ( |  | ) |

Closes this directory.

After closing operations like reading the next directory entry will not be possible anymore.

void IDirectory::read | ( | [retval] out IFsObjInfo | objInfo | ) |

Reads the next directory entry of this directory.

Parameters:

  | objInfo | Object information of the current directory entry read. Also see IFsObjInfo.

Expected result codes:

  VBOX_E_OBJECT_NOT_FOUND | No more directory entries to read.

## Member Data Documentation

readonly attribute wstring IDirectory::directoryName

Full path of directory.

readonly attribute wstring IDirectory::filter

The open filter.