1
0
This commit is contained in:
Scott E. Graves
2017-04-05 18:01:29 -05:00
parent 871d22cb69
commit 2be0d08359
4 changed files with 119 additions and 26 deletions

View File

@@ -490,9 +490,10 @@ class SIADRIVE_DOKAN_EXPORTABLE DokanSetFileAttributesW :
public CEvent
{
public:
DokanSetFileAttributesW(const SString& cachePath) :
DokanSetFileAttributesW(const SString& cachePath, const NTSTATUS& ret) :
CEvent(EventLevel::Debug),
_cachePath(cachePath)
_cachePath(cachePath),
_ret(ret)
{
}
@@ -503,16 +504,17 @@ public:
private:
const SString _cachePath;
const NTSTATUS _ret;
public:
virtual std::shared_ptr<CEvent> Clone() const override
{
return std::shared_ptr<CEvent>(new DokanSetFileAttributesW(_cachePath));
return std::shared_ptr<CEvent>(new DokanSetFileAttributesW(_cachePath, _ret));
}
virtual SString GetSingleLineMessage() const override
{
return L"DokanSetFileAttributesW|PATH|" + _cachePath;
return L"DokanSetFileAttributesW|PATH|" + _cachePath + "|RET|" + SString::FromUInt64(_ret);
}
};