1// PropIDUtils.h 2 3#ifndef __PROPID_UTILS_H 4#define __PROPID_UTILS_H 5 6#include "../../../Common/MyString.h" 7 8// provide at least 64 bytes for buffer including zero-end 9void ConvertPropertyToShortString(char *dest, const PROPVARIANT &propVariant, PROPID propID, bool full = true) throw(); 10void ConvertPropertyToString(UString &dest, const PROPVARIANT &propVariant, PROPID propID, bool full = true); 11 12bool ConvertNtReparseToString(const Byte *data, UInt32 size, UString &s); 13void ConvertNtSecureToString(const Byte *data, UInt32 size, AString &s); 14bool CheckNtSecure(const Byte *data, UInt32 size); 15void ConvertWinAttribToString(char *s, UInt32 wa); 16 17#endif 18