mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
9.34
This commit is contained in:
committed by
Kornel Lesiński
parent
83f8ddcc5b
commit
f08f4dcc3c
17
CPP/Windows/Shell.cpp
Executable file → Normal file
17
CPP/Windows/Shell.cpp
Executable file → Normal file
@@ -2,13 +2,13 @@
|
||||
|
||||
#include "StdAfx.h"
|
||||
|
||||
#include "Common/MyCom.h"
|
||||
#include "../Common/MyCom.h"
|
||||
#ifndef _UNICODE
|
||||
#include "Common/StringConvert.h"
|
||||
#include "../Common/StringConvert.h"
|
||||
#endif
|
||||
|
||||
#include "Windows/COM.h"
|
||||
#include "Windows/Shell.h"
|
||||
#include "COM.h"
|
||||
#include "Shell.h"
|
||||
|
||||
#ifndef _UNICODE
|
||||
extern bool g_IsNT;
|
||||
@@ -111,11 +111,10 @@ UString CDrop::QueryFileName(UINT fileIndex)
|
||||
|
||||
void CDrop::QueryFileNames(UStringVector &fileNames)
|
||||
{
|
||||
fileNames.Clear();
|
||||
UINT numFiles = QueryCountOfFiles();
|
||||
fileNames.Reserve(numFiles);
|
||||
fileNames.ClearAndReserve(numFiles);
|
||||
for (UINT i = 0; i < numFiles; i++)
|
||||
fileNames.Add(QueryFileName(i));
|
||||
fileNames.AddInReserved(QueryFileName(i));
|
||||
}
|
||||
|
||||
|
||||
@@ -140,8 +139,8 @@ bool BrowseForFolder(HWND, LPCTSTR, UINT, LPCTSTR, CSysString &)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool BrowseForFolder(HWND owner, LPCTSTR title,
|
||||
LPCTSTR initialFolder, CSysString &resultPath)
|
||||
bool BrowseForFolder(HWND /* owner */, LPCTSTR /* title */,
|
||||
LPCTSTR /* initialFolder */, CSysString & /* resultPath */)
|
||||
{
|
||||
/*
|
||||
// SHBrowseForFolder doesn't work before CE 6.0 ?
|
||||
|
||||
Reference in New Issue
Block a user