System.Drawing.ComIStreamMarshaler.NativeToManagedWrapper.ThrowExceptionForHR C# (CSharp) Method

ThrowExceptionForHR() private static method

private static ThrowExceptionForHR ( int result ) : void
result int
return void
			private static void ThrowExceptionForHR(int result)
			{
				if (result < 0)
					throw new COMException(null, result);
			}