GetCurrentChangeMarker Method
Gets the most current change marker.
Syntax
int GetCurrentChangeMarker(const QString& qsFolderResource);
Remarks
This method populates NextChangeMarker with the most current change marker available. Like ListChanges, it may be limited to only changes within a certain FolderResource; and is sensitive to the IncludeDeleted, IncludeMounted, MaxResults, and RecurseSubfolders configuration settings.
FolderResource must be a folder path, an Id-based relative folder path, a folder resource Id, or empty string (the root folder).
Refer to ListChanges for more information.
Error Handling
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)