LibreOffice Module onlineupdate (master) 1
Functions
servicebase.cxx File Reference
#include "servicebase.hxx"
#include "windowsHelper.hxx"
Include dependency graph for servicebase.cxx:

Go to the source code of this file.

Functions

BOOL VerifySameFiles (LPCWSTR file1Path, LPCWSTR file2Path, BOOL &sameContent)
 Verifies if 2 files are byte for byte equivalent. More...
 

Function Documentation

◆ VerifySameFiles()

BOOL VerifySameFiles ( LPCWSTR  file1Path,
LPCWSTR  file2Path,
BOOL sameContent 
)

Verifies if 2 files are byte for byte equivalent.

Parameters
file1PathThe first file to verify.
file2PathThe second file to verify.
sameContentOut parameter, TRUE if the files are equal
Returns
TRUE If there was no error checking the files.

Definition at line 19 of file servicebase.cxx.

References COMPARE_BLOCKSIZE, FALSE, AutoHandle::get(), i, and TRUE.

Referenced by ProcessSoftwareUpdateCommand().