public int put_Size(CY size) { if (m_put_SizeFunc == null) { var fp = GetFunctionPointer(6); m_put_SizeFunc = (put_SizeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(put_SizeFunc)); } return(m_put_SizeFunc(m_ptr, size)); }
public int get_Size(ref CY pSize) { if (m_get_SizeFunc == null) { var fp = GetFunctionPointer(5); m_get_SizeFunc = (get_SizeFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(get_SizeFunc)); } return(m_get_SizeFunc(m_ptr, ref pSize)); }