[Mono-dev] [PATCH] Implement Graphics.ReleaseHdc()
Jonathan Pobst
monkey at jpobst.com
Fri Jul 14 19:04:43 EDT 2006
Patch to implement 2.0 parameterless Graphics.ReleaseHdc()
- Creates a private variable to hold the IntPtr that GetHdc() returns.
- Stores IntPtr to private variable in GetHdc().
- In ReleaseHdc(), call ReleaseHdc(IntPtr) passing stored IntPtr.
- Set private variable back to IntPtr.Zero.
Please review and commit.
Thanks,
Jonathan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: graphicsreleasehdc.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060714/40180a12/attachment.pl
More information about the Mono-devel-list
mailing list