Exemple #1
0
 //
 // Array
 //
 internal void SetArray(eNkMAIDCapability capability, NkMAIDArray array)
 {
     CapSet(
         capability,
         eNkMAIDDataType.kNkMAIDDataType_ArrayPtr,
         new IntPtr(&array));
 }
Exemple #2
0
 public static uint GetDataSize(this NkMAIDArray a)
 {
     return((uint)(a.ulElements * a.wPhysicalBytes));
 }
 //
 // Array
 //
 internal void SetArray(eNkMAIDCapability capability, NkMAIDArray array)
 {
     CapSet(
         capability,
         eNkMAIDDataType.kNkMAIDDataType_ArrayPtr,
         new IntPtr(&array));
 }
 internal NikonArray(NkMAIDArray a, byte[] buffer)
 {
     _array       = a;
     _array.pData = IntPtr.Zero;
     _buffer      = buffer;
 }
 internal NikonArray(NkMAIDArray a, byte[] buffer)
 {
     _array = a;
     _array.pData = IntPtr.Zero;
     _buffer = buffer;
 }