Beispiel #1
0
        public static void index_setClientEntity(ref CXIdxEntityInfo @param0, CXIdxClientEntity @param1)
        {
            var temp = new _CXIdxEntityInfo
            {
                kind          = param0.kind,
                templateKind  = param0.templateKind,
                lang          = param0.lang,
                cursor        = param0.cursor,
                attributes    = param0.attributes,
                numAttributes = param0.numAttributes
            };

            try
            {
                temp.name = Marshal.StringToHGlobalAnsi(param0.name);
                temp.USR  = Marshal.StringToHGlobalAnsi(param0.USR);
                index_setClientEntity(ref temp, param1);
            }
            finally
            {
                if (temp.name != IntPtr.Zero)
                {
                    Marshal.FreeHGlobal(temp.name);
                }

                if (temp.USR != IntPtr.Zero)
                {
                    Marshal.FreeHGlobal(temp.USR);
                }
            }
        }
Beispiel #2
0
 public static extern void index_setClientEntity(out CXIdxEntityInfo @param0, CXIdxClientEntity @param1);
Beispiel #3
0
 public static extern CXIdxClientEntity index_getClientEntity(out CXIdxEntityInfo @param0);