Sha256: 2d40c1e7dbe5fa170f5bbb66a8808d6ce59758005ec77953226cd1c94dc63661

Contents?: true

Size: 579 Bytes

Versions: 7

Compression:

Stored size: 579 Bytes

Contents

#include "Stdafx.h"

extern "C" {
  __declspec(dllexport) void Selection_Release(SelectionInformationPtr selectionInfo) {
    delete selectionInfo;
  }

  __declspec(dllexport) SelectionInformationPtr Selection_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) {
    try {
      return new SelectionInformation(Find(element)->As<SelectionPattern^>(SelectionPattern::Pattern)->Current);
    } catch(Exception^ e) {
      StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength);
      return NULL;
    }
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
uia-0.0.8 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.7.3 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.7.2 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.7.1 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.7 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.6.1 ext/UiaDll/UiaDll/SelectionMethods.cpp
uia-0.0.6 ext/UiaDll/UiaDll/SelectionMethods.cpp