Sha256: 75c111933afe34e6af25dd3a0545d9c08c60661a34fc60f567cc9c625db24a9d
Contents?: true
Size: 1.33 KB
Versions: 9
Compression:
Stored size: 1.33 KB
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) void Window_Release(WindowInformationPtr windowInformation) { delete windowInformation; } __declspec(dllexport) WindowInformationPtr Window_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { return new WindowInformation(ElementFrom(element)->As<WindowPattern^>(WindowPattern::Pattern)->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); return NULL; } } __declspec(dllexport) void Window_SetVisualState(ElementInformationPtr element, const char* visualState, char* errorInfo, const int errorInfoLength) { try { ElementFrom(element)->As<WindowPattern^>(WindowPattern::Pattern)->SetWindowVisualState((WindowVisualState) Enum::Parse(WindowVisualState::typeid, gcnew String(visualState), false)); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); } } __declspec(dllexport) void Window_Close(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { ElementFrom(element)->As<WindowPattern^>(WindowPattern::Pattern)->Close(); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); } } }
Version data entries
9 entries across 9 versions & 1 rubygems