Compare active document and document from Vault

Is there a API call to compare active document and the document from Vault

Thank you

SolidworksApi macros