Sha256: 1bfe2e40cbc1b913bce42366db26f580dd0cb35abbe32c9d7e0391e2e90454cc
Contents?: true
Size: 1.06 KB
Versions: 3
Compression:
Stored size: 1.06 KB
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) void Table_Release(TableInformationPtr tableInfo) { delete tableInfo; } __declspec(dllexport) TableInformationPtr Table_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { return new TableInformation(ElementFrom(element)->As<TablePattern^>(TablePattern::Pattern)->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return NULL; } } __declspec(dllexport) int Table_Headers(ElementInformationPtr element, ElementInformation** headers, char* errorInfo, const int errorInfoLength) { try { auto headerElements = ElementFrom(element)->As<TablePattern^>(TablePattern::Pattern)->Current.GetColumnHeaders(); *headers = ElementInformation::From(Element::From(headerElements)); return headerElements->Length; } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return 0; } } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
uia-0.3 | ext/UiaDll/UiaDll/TableMethods.cpp |
uia-0.2.1 | ext/UiaDll/UiaDll/TableMethods.cpp |
uia-0.2 | ext/UiaDll/UiaDll/TableMethods.cpp |