Files
Simone d074cc7c07 chore: initial commit (extracted from Launchers monorepo)
Plugin: ns7zip v2.0.0
Architectures: x86-ansi, x86-unicode, amd64-unicode
License: LGPL-2.1-or-later
2026-04-29 14:07:51 +02:00

32 lines
688 B
C++

// 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