Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- hbitmap
- A System.IntPtr handle to an HBITMAP object to free.
This static function is a helper function so that the developer can use this function to free an HBITMAP object instead of having to call DeleteObject in gdi32.dll. This method should be called to free the HBITMAP object returned from the ToHbitmap method.