Sha256: a9e634cb426013bc4d18bb83e9084c2af48312b30188201ebc608f94f30cee01
Contents?: true
Size: 942 Bytes
Versions: 2
Compression:
Stored size: 942 Bytes
Contents
#include "Stdafx.h" using namespace std; extern "C" { __declspec(dllexport) void Condition_Release(SearchConditionPtr searchCondition) { delete searchCondition; } _declspec(dllexport) SearchConditionPtr Condition_Id(const char* id) { return new SearchCondition(AutomationElement::AutomationIdProperty->Id, id); } _declspec(dllexport) SearchConditionPtr Condition_Name(const char* name) { return new SearchCondition(AutomationElement::NameProperty->Id, name); } __declspec(dllexport) SearchConditionPtr Condition_ControlType(const int n, const int arg0, ...) { va_list arguments; va_start(arguments, arg0); list<const int> controlTypes; controlTypes.push_back(arg0); for(auto index = 1; index < n; index++) { auto value = va_arg(arguments, int); controlTypes.push_back(value); } return SearchCondition::FromControlTypes(controlTypes); } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
uia-0.1.3.1 | ext/UiaDll/UiaDll/ConditionMethods.cpp |
uia-0.1.3 | ext/UiaDll/UiaDll/ConditionMethods.cpp |