Ejemplo n.º 1
0
        private void TestLicense()
        {
            int      hr;
            ProtType pType = ProtType.Free;
            int      pDate;

            // Not implemented
            hr = m_xc.GetCurrLicenseExpDate(pType, out pDate);
        }
Ejemplo n.º 2
0
        private void TestGetCurrLicenseExpDate()
        {
            int      hr;
            ProtType p = ProtType.Once;
            int      p2;

            // Not implemented (per docs)
            hr = m_ft.GetCurrLicenseExpDate(p, out p2);
            //DsError.ThrowExceptionForHR(hr);
        }
Ejemplo n.º 3
0
			public static extern int mprotect(UIntPtr addr, UIntPtr length, ProtType prot);
Ejemplo n.º 4
0
			public static extern UIntPtr mmap(UIntPtr addr, UIntPtr length, ProtType prot, MapType flags, int fd, IntPtr offset);
Ejemplo n.º 5
0
 public static extern int mprotect(UIntPtr addr, UIntPtr length, ProtType prot);
Ejemplo n.º 6
0
 public static extern UIntPtr mmap(UIntPtr addr, UIntPtr length, ProtType prot, MapType flags, int fd, IntPtr offset);