Sha256: a1b1241bbdfbcd13db5e61a55f64c4b2e6e70805552df14c3552a19456c82b71

Contents?: true

Size: 963 Bytes

Versions: 9

Compression:

Stored size: 963 Bytes

Contents

#include "Stdafx.h"

extern "C" {
  __declspec(dllexport) void RangeValue_Release(RangeValueInformationPtr rangeValueInfo) {
    delete rangeValueInfo;
  }

  __declspec(dllexport) RangeValueInformationPtr RangeValue_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) {
    try {
      return new RangeValueInformation(ElementFrom(element)->As<RangeValuePattern^>(RangeValuePattern::Pattern)->Current);
    } catch(Exception^ e) {
      StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength);
      return NULL;
    }
  }

  __declspec(dllexport) void RangeValue_SetValue(ElementInformationPtr element, double value, char* errorInfo, const int errorInfoLength) {
    try {
      return ElementFrom(element)->As<RangeValuePattern^>(RangeValuePattern::Pattern)->SetValue(value);
    } catch(Exception^ e) {
      StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength);
    }
  }

}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
uia-1.0 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.8 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.7 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.7.alpha.1 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.6 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.5 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.4.4 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.4.3 ext/UiaDll/UiaDll/RangeValueMethods.cpp
uia-0.4.2 ext/UiaDll/UiaDll/RangeValueMethods.cpp