Exemple #1
0
        public static void Ch9AllocCh9Dog()
        {
            IntPtr value = IntPtr.Zero;

            if (Ch9Native.Ch9AllocCh9Dog(ref value))
            {
                Ch9Dog dog = (Ch9Dog)Marshal.PtrToStructure(value, typeof(Ch9Dog));
            }
            Ch9Native.Ch9FreeMemory(value);
        }
Exemple #2
0
 public static void Ch9CoTaskMemAllocCh9Dog()
 {
     Ch9Dog dog = new Ch9Dog();
     bool   ret = Ch9Native.Ch9CoTaskMemAllocCh9Dog(ref dog);
 }
Exemple #3
0
 public static extern bool Ch9CoTaskMemAllocCh9Dog(ref Ch9Dog value);