Пример #1
0
        /// <summary>
        /// Terminate the component after use.
        /// </summary>
        /// <remarks>
        /// Needed to ensure that the C-runtime is correctly ended.
        /// </remarks>
        /// <returns>not used</returns>
        public static int Terminate()
        {
            int retval = 0;

            retval = CrtWrapper.mterminate();
            return(retval);
        }
Пример #2
0
        /// <summary>
        /// Initialize the component before use.
        /// </summary>
        /// <remarks>
        /// Needed to ensure that the C-runtime is correctly started.
        /// </remarks>
        /// <returns>not used</returns>
        public static int Initialize()
        {
            int retval = 0;

            retval = CrtWrapper.minitialize();
            return(retval);
        }