public static void Ch9AllocCh9Dog() { IntPtr value = IntPtr.Zero; if (Ch9Native.Ch9AllocCh9Dog(ref value)) { Ch9Dog dog = (Ch9Dog)Marshal.PtrToStructure(value, typeof(Ch9Dog)); } Ch9Native.Ch9FreeMemory(value); }
public static void Ch9CoTaskMemAllocCh9Dog() { Ch9Dog dog = new Ch9Dog(); bool ret = Ch9Native.Ch9CoTaskMemAllocCh9Dog(ref dog); }
public static extern bool Ch9CoTaskMemAllocCh9Dog(ref Ch9Dog value);