Example #1
0
 public bool SetSelection(uint startFrom, uint size, bool value)
 {
     UIntPtr[] pStartFrom = new UIntPtr[1];
     pStartFrom[0] = new UIntPtr(startFrom);
     return(m_dll.adSelectionSet(m_handle, Marshal.UnsafeAddrOfPinnedArrayElement(pStartFrom, 0), new UIntPtr(size),
                                 value ? CoreDll.TRUE : CoreDll.FALSE) == CoreDll.Error.Ok);
 }