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.
The IMultisessionRandomWrite interface inherits from IMultisession. IMultisessionRandomWrite also has these types of members:
The IMultisessionRandomWrite interface has these methods.
Retrieves the last written address on the media.
Retrieves the total number of sectors on the media.
Retrieves the size of a writable unit on the media. (IMultisessionRandomWrite.get_WriteUnitSize)
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.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|