chdman/3rdparty/lzma/CPP/7zip/UI/Common/PropIDUtils.h
2022-01-05 08:45:19 +02:00

19 lines
673 B
C

// PropIDUtils.h
#ifndef __PROPID_UTILS_H
#define __PROPID_UTILS_H
#include "../../../Common/MyString.h"
// provide at least 64 bytes for buffer including zero-end
void ConvertPropertyToShortString(char *dest, const PROPVARIANT &propVariant, PROPID propID, bool full = true) throw();
void ConvertPropertyToString(UString &dest, const PROPVARIANT &propVariant, PROPID propID, bool full = true);
bool ConvertNtReparseToString(const Byte *data, UInt32 size, UString &s);
void ConvertNtSecureToString(const Byte *data, UInt32 size, AString &s);
bool CheckNtSecure(const Byte *data, UInt32 size) throw();;
void ConvertWinAttribToString(char *s, UInt32 wa) throw();
#endif