Initialer Commit

This commit is contained in:
Tino Reichardt
2016-06-25 21:15:50 +02:00
commit c3967fe27a
1199 changed files with 290375 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
// RegistryAssociations.h
#ifndef __REGISTRY_ASSOCIATIONS_H
#define __REGISTRY_ASSOCIATIONS_H
#include "../../../Common/MyString.h"
namespace NRegistryAssoc {
struct CShellExtInfo
{
CSysString ProgramKey;
UString IconPath;
int IconIndex;
bool ReadFromRegistry(HKEY hkey, const CSysString &ext);
bool IsIt7Zip() const;
};
LONG DeleteShellExtensionInfo(HKEY hkey, const CSysString &ext);
LONG AddShellExtensionInfo(HKEY hkey,
const CSysString &ext,
const UString &programTitle,
const UString &programOpenCommand,
const UString &iconPath, int iconIndex
// , const void *shellNewData, int shellNewDataSize
);
}
#endif