MCPcopy Create free account
hub / github.com/derceg/explorerplusplus / GetFileSizeEx

Function GetFileSizeEx

Explorer++/Helper/Helper.cpp:163–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163BOOL GetFileSizeEx(const TCHAR *szFileName, PLARGE_INTEGER lpFileSize)
164{
165 BOOL bSuccess = FALSE;
166
167 wil::unique_hfile file(CreateFile(szFileName, GENERIC_READ,
168 FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, NULL, NULL));
169
170 if(file)
171 {
172 bSuccess = GetFileSizeEx(file.get(), lpFileSize);
173 }
174
175 return bSuccess;
176}
177
178BOOL CompareFileTypes(const TCHAR *pszFile1,const TCHAR *pszFile2)
179{

Callers 5

OnInitDialogMethod · 0.85
SplitMethod · 0.85
StartMergingMethod · 0.85
TESTFunction · 0.85
GetFileClusterSizeFunction · 0.85

Calls 1

getMethod · 0.45

Tested by 1

TESTFunction · 0.68