示例#1
0
        private int DestroyEngine()
        {
            int status = Hwr.Close();

            if (inkObj != IntPtr.Zero)
            {
                Hwr.DestroyInkObject(inkObj);
            }
            if (settingObj != IntPtr.Zero)
            {
                Hwr.DestroySettingObject(settingObj);
            }
            if (resultObj != IntPtr.Zero)
            {
                Hwr.DestroyResultObject(resultObj);
            }

            return(status);
        }