Sha256: 848ac1635f3308e96fd5411e2cec5c2e677cfb71908df5d6d095f95a5f334f03
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 Bytes
Contents
#include "stdafx.h" #include "AutomationControl.h" #include "StringHelper.h" extern "C" { __declspec ( dllexport ) void Control_GetValue(const HWND windowHandle, char* theValue, const int maximumLength) { auto control = gcnew AutomationControl(windowHandle); StringHelper::CopyToUnmanagedString(control->Value, theValue, maximumLength); } __declspec ( dllexport ) void Control_SetValue(const HWND windowHandle, const char* theValue) { auto control = gcnew AutomationControl(windowHandle); control->Value = gcnew String(theValue); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rautomation-0.9.0 | ext/UiaDll/UiaDll/ControlMethods.cpp |