Esempio n. 1
0
        /// <summary>
        /// Simple wrapper to the CPP Imported function. (Returns Int instead of our ref uint)
        /// </summary>
        /// <returns>true for success and false for failure</returns>
        public static bool SetCurrentTopology(DisplayConfigTopology newState)
        {
            uint uintState = (uint)newState;
            var  result    = SetCurrentTopology(ref uintState);

            return(result);
        }
Esempio n. 2
0
		/// <summary>
		/// Simple wrapper to the CPP Imported function. (Returns Int instead of our ref uint)
		/// </summary>
		/// <returns>true for success and false for failure</returns>
		public static bool SetCurrentTopology(DisplayConfigTopology newState)
		{
			uint uintState = (uint)newState;
			var result = SetCurrentTopology(ref uintState);
			return result;
		}