IDiscFormat2Data::get_LastWrittenAddressOfPreviousSession method

Retrieves the last sector of the previous write session.

Syntax

HRESULT get_LastWrittenAddressOfPreviousSession(
  LONG *value
);

Parameters

value

Address where the previous write operation ended.

The value is -1 if the media is blank or does not support multi-session writing (indicates that no previous session could be detected).

Return Value

S_OK is returned on success, but other success codes may be returned as a result of implementation. The following error codes are commonly returned on operation failure, but do not represent the only possible error values:

Return code Description
E_NOTIMPL
Not implemented.

Value: 0x80004001

Remarks

Note  This property should not be used. Instead, you should use an interface derived from IMultisession, such as IMultisessionSequential, for importing file data from the previous session.
 

Requirements

   
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imapi2.h

See Also

IDiscFormat2Data

IDiscFormat2Data::get_NextWritableAddress

IDiscFormat2Data::get_StartAddressOfPreviousSession