Sha256: def723c7d3ad593bdbdad25aebfc517e68c7f1354f2acd5b475a933d63128dbc
Contents?: true
Size: 1.91 KB
Versions: 5
Compression:
Stored size: 1.91 KB
Contents
#include "stdafx.h" #include "AutomatedSelectList.h" extern "C" { __declspec ( dllexport ) int SelectList_Count(const FindInformation& findInformation) { auto autoSelectList = gcnew AutomatedSelectList(findInformation); return autoSelectList->Count; } __declspec ( dllexport ) int SelectList_Options(const FindInformation& findInformation, const char* options[]) { auto selectList = gcnew AutomatedSelectList(findInformation); return selectList->GetOptions(options); } __declspec ( dllexport ) int SelectList_SelectedIndex(const FindInformation& findInformation) { auto autoSelectList = gcnew AutomatedSelectList(findInformation); return autoSelectList->SelectedIndex; } __declspec ( dllexport ) void SelectList_Selection(const FindInformation& findInformation, char* selection, const int selectionLength) { auto selectList = gcnew AutomatedSelectList(findInformation); auto currentSelections = selectList->Selection; auto firstSelection = currentSelections.Length == 0 ? "" : currentSelections[0]; StringHelper::CopyToUnmanagedString(firstSelection, selection, selectionLength); } __declspec ( dllexport ) bool SelectList_ValueAt(const FindInformation& findInformation, const int whichItem, char* comboValue, const int comboValueSize) { auto autoSelectList = gcnew AutomatedSelectList(findInformation); return autoSelectList->GetValueByIndex(whichItem, comboValue, comboValueSize); } __declspec ( dllexport ) bool SelectList_SelectIndex(const FindInformation& findInformation, const int whichItem) { auto autoSelectList = gcnew AutomatedSelectList(findInformation); return autoSelectList->SelectByIndex(whichItem); } __declspec ( dllexport ) int SelectList_SelectValue(const FindInformation& findInformation, char *pValue) { auto autoSelectList = gcnew AutomatedSelectList(findInformation); return autoSelectList->SelectByValue(pValue); } }
Version data entries
5 entries across 5 versions & 1 rubygems