Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Messages

EmEditor Plug-in Reference: EE_COMPARE

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_COMPARE

Compares two files. You can send this message explicitly or use the Editor_Compare inline function.

EE_COMPARE

   wParam = (WPARAM) (COMPARE_INFO*) pCompareInfo;

   lParam = 0;

Parameters

pCompareInfo

Pointer to the COMPARE_INFO structure.

Return Value

The return value can be one of the following values. The return value is a negative value if an error occurs.

E_DOCUMENT_1_NOT_FOUND

Cannot find the first document.

E_DOCUMENT_2_NOT_FOUND

Cannot find the second document.

E_FAIL

Unspecified error.

E_NOT_MDI

Tabs must be enabled.

S_DIFF

Two documents are NOT identical..

S_MATCHED

Two documents are identical.

S_MATCHED_IGNORED

Two documents are identical except for ignored places.

Version

Supported on EmEditor Professional Version 17.7 or later.

Copyright © 2003-2021 by Emurasoft, Inc.