System.Drawing.ComIStreamMarshaler.ManagedToNativeWrapper.Commit C# (CSharp) Method

Commit() private static method

private static Commit ( IntPtr @this, int grfCommitFlags ) : int
@this System.IntPtr
grfCommitFlags int
return int
			private static int Commit(IntPtr @this, int grfCommitFlags)
			{
#if MAP_EX_TO_HR
				try
				{
#endif
					GetObject(@this).managedInterface.Commit(grfCommitFlags);
					return S_OK;
#if MAP_EX_TO_HR
				}
				catch (Exception e)
				{
					return GetHRForException(e);
				}
#endif
			}