mirror of
https://github.com/BeneficialCode/WinArk
synced 2026-08-09 12:00:31 +00:00
11 lines
357 B
C++
11 lines
357 B
C++
#include "stdafx.h"
|
|
#include "ProcessNameFilter.h"
|
|
#include "EventData.h"
|
|
|
|
ProcessNameFilter::ProcessNameFilter(std::wstring name, CompareType type, FilterAction action) :
|
|
StringCompareFilterBase(L"Process Name", name, type,action) {
|
|
}
|
|
|
|
FilterAction ProcessNameFilter::Eval(FilterContext& context) const {
|
|
return Compare(context.Data->GetProcessName());
|
|
} |