Sha256: 3d39430f629ae84e2b9bc747064bb8d56a1bb0515a3ad0fdd15af00d829f0e0a
Contents?: true
Size: 924 Bytes
Versions: 9
Compression:
Stored size: 924 Bytes
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) void Toggle_Release(ToggleInformationPtr toggleInfo) { delete toggleInfo; } __declspec(dllexport) ToggleInformationPtr Toggle_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { auto info = ElementFrom(element)->As<TogglePattern^>(TogglePattern::Pattern)->Current; return new ToggleInformation(info.ToggleState.ToString()); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); return NULL; } } __declspec(dllexport) void Toggle(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { ElementFrom(element)->As<TogglePattern^>(TogglePattern::Pattern)->Toggle(); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); } } }
Version data entries
9 entries across 9 versions & 1 rubygems