Sha256: 85865f6bea77205055aa4683aa9f51181fe71c5f713d43681ed507e7b8f5fb0a

Contents?: true

Size: 611 Bytes

Versions: 12

Compression:

Stored size: 611 Bytes

Contents

#include "stdafx.h"
#include "Locator.h"
#include "StringHelper.h"

using namespace RAutomation::UIA::Extensions;

extern "C" {
	__declspec ( dllexport ) void Control_GetValue(const FindInformation& findInformation, char* theValue, const int maximumLength) {
		auto value = Element::Value(Locator::FindFor(findInformation));
		StringHelper::CopyToUnmanagedString(value, theValue, maximumLength);
	}

	__declspec ( dllexport ) void Control_SetValue(const FindInformation& findInformation, const char* theValue) {
		Element::SetValue(Locator::FindFor(findInformation), gcnew String(theValue));
	}
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rautomation-2.0.1-x86-mingw32 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-2.0.1-x64-mingw32 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-1.1.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-1.0.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.17.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.16.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.15.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.14.1 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.14.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.13.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.12.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.11.0 ext/UiaDll/UiaDll/ControlMethods.cpp