Sha256: 88ec82fdb76fc66e1d05fda758ba03bcfcf57da162c4106e572ee5ce721bfe19
Contents?: true
Size: 1.34 KB
Versions: 10
Compression:
Stored size: 1.34 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(Find(element)->As<WindowPattern^>(WindowPattern::Pattern)->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return NULL; } } __declspec(dllexport) void Window_SetVisualState(ElementInformationPtr element, const char* visualState, char* errorInfo, const int errorInfoLength) { try { Find(element)->As<WindowPattern^>(WindowPattern::Pattern)->SetWindowVisualState((WindowVisualState) Enum::Parse(WindowVisualState::typeid, gcnew String(visualState), false)); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); } } __declspec(dllexport) void Window_Close(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { Find(element)->As<WindowPattern^>(WindowPattern::Pattern)->Close(); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); } } }
Version data entries
10 entries across 10 versions & 1 rubygems