IMultisessionRandomWrite interface (imapi2.h)

Use this interface to retrieve information about the current state of media allowing random writes and not supporting the concept of physical sessions.

The following methods return a collection of IMultisession interfaces representing all supported multisession types.

You can then call the IUnknown::QueryInterface method on each element in the collection to query for the IMultisessionRandomWrite interface.

Inheritance

The IMultisessionRandomWrite interface inherits from IMultisession. IMultisessionRandomWrite also has these types of members:

Methods

The IMultisessionRandomWrite interface has these methods.

 
IMultisessionRandomWrite::get_LastWrittenAddress

Retrieves the last written address on the media.
IMultisessionRandomWrite::get_TotalSectorsOnMedia

Retrieves the total number of sectors on the media.
IMultisessionRandomWrite::get_WriteUnitSize

Retrieves the size of a writable unit on the media. (IMultisessionRandomWrite.get_WriteUnitSize)

Remarks

If more than one multi-session interface exist, the application can let IFileSystemImage choose a compatible multi-session interface to use or the application can specify the multi-session interface to use by setting the put_InUse property to VARIANT_TRUE.

A file system creator would use the address properties to import the content of the previous session on the disc and to compute the position of the next session it will create. These properties will return the same values as the properties of the same name of the IDiscFormat2Data interface. This is a MsftMultisessionRandomWrite object in script.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header imapi2.h

See also

IDiscFormat2Data::get_MultisessionInterfaces

IFileSystemImage::get_MultisessionInterfaces

IMultisession