Sha256: 1b6c1484ba8488c3f6aca27d27fe36b40cd9a0165c67a70f020ded842d4adace

Contents?: true

Size: 597 Bytes

Versions: 5

Compression:

Stored size: 597 Bytes

Contents

#include "stdafx.h"
#include "AutomationControl.h"
#include "StringHelper.h"

extern "C" {
	__declspec ( dllexport ) void Control_GetValue(const FindInformation& findInformation, char* theValue, const int maximumLength) {
		auto control = gcnew AutomationControl(findInformation);
		StringHelper::CopyToUnmanagedString(control->Value, theValue, maximumLength);
	}

	__declspec ( dllexport ) void Control_SetValue(const FindInformation& findInformation, const char* theValue) {
		auto control = gcnew AutomationControl(findInformation);
		control->Value = gcnew String(theValue);
	}
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rautomation-0.10.0 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.9.4 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.9.3 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.9.2 ext/UiaDll/UiaDll/ControlMethods.cpp
rautomation-0.9.1 ext/UiaDll/UiaDll/ControlMethods.cpp