Пример #1
0
 internal Cursor(BDB43 parent, IntPtr cursorp)
 {
     this.cursorp = cursorp;
     this.parent  = parent;
     funcs        = (cursorstruct)Marshal.PtrToStructure((IntPtr)((int)cursorp + 188), typeof(cursorstruct));
 }
Пример #2
0
			internal Cursor(BDB43 parent, IntPtr cursorp) {
				this.cursorp = cursorp;
				this.parent = parent;
				funcs = (cursorstruct)Marshal.PtrToStructure((IntPtr)((int)cursorp+188), typeof(cursorstruct));
			}
Пример #3
0
			internal Cursor(BDB46 parent, IntPtr cursorp) {
				this.cursorp = cursorp;
				this.parent = parent;

				int offset = 208;
				if (IntPtr.Size == 8)
					offset = 312;
				
				funcs = (cursorstruct)Marshal.PtrToStructure((IntPtr)((int)cursorp + offset), typeof(cursorstruct));
			}