Desktop Functions: Smart Device Functions:
|
Search Results for "DeleteObject" in [All]gdi321: AlphaBlend
static extern bool DeleteObject(IntPtr hObject);
DeleteObject(pNew); 2: BitBlt
static extern bool DeleteObject(IntPtr hObject); After you're done, you should use DeleteObject to release resources. If you call this and then exit the function, automatic garbage collection does not work and you get a memory leak. You will need the DeleteObject function (also in gdi32) to free the memory manually 5: CreateFont Dont forget to call DeleteObject to free the pointer to the font (otherwise you get a nasty gdi leak) 6: CreatePen
DeleteObject(SelectObject(pDC, oldpen));
static extern bool DeleteObject(IntPtr hObject);
DeleteObject(brush); Please call DeleteObject to free up all system resources.
static extern bool DeleteObject(IntPtr hObject);
DeleteObject(brush); 9: DeleteObject
[DllImport("gdi32.dll", EntryPoint = "DeleteObject")]
public static extern bool DeleteObject([In] IntPtr hObject);
Private Shared Function DeleteObject(hObject As IntPtr) As <MarshalAs(UnmanagedType.Bool)> Boolean
Public Declare Function DeleteObject Lib "gdi32.dll" _ Call DeleteObject on a HBitmap object after using the GDI+ function: FromHbitmap transfers a copy of the image bytes into returned Bitmap so it is important to call DeleteObject on the HBitmap to prevent two copies of the image from existing in the system. 10: ExtFloodFill
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(vBrush); 11: FillRgn
static extern bool DeleteObject(IntPtr hObject);
DeleteObject(brush);
DeleteObject(hFont); 13: GetFontData Release the handle after usage with the method DeleteObject in gdi32.dll.
private static extern bool DeleteObject(IntPtr hgdiobj);
DeleteObject(fontHandle);
GDI.DeleteObject(GDI.SelectObject(hdc, oldfnt));
GDI.DeleteObject(GDI.SelectObject(hdc, oldfnt)); 16: GetTextMetrics
DeleteObject(hFont);
static extern bool DeleteObject(IntPtr hdc);
Win32::DeleteObject(hFont); 17: LineTo
DeleteObject(SelectObject(pDC, oldpen)); 18: MoveToEx
DeleteObject(SelectObject(pDC, oldpen)); 19: RoundRect
public static extern bool DeleteObject(IntPtr hObject);
GDI32.DeleteObject(thePen);
GDI32.DeleteObject(theBrush); 20: SelectClipRgn
DeleteObject(hRegion); 21: SetMapMode
public static extern int DeleteObject(int hBitmap); DeleteObject(hPen); 22: StretchBlt
DeleteObject(pNew);
static extern bool DeleteObject(IntPtr hObject); 23: TextOut
public static extern bool DeleteObject(IntPtr objectHandle);
DeleteObject(SelectObject(HDC, last_font));
Private Shared Function DeleteObject(ByVal objectHandle As IntPtr) As Boolean
DeleteObject(FontPtr) Structures24: FORMATETC
// member is null, the destination process should use DeleteObject to delete
' member is null, the destination process should use DeleteObject to delete opengl32
Gdi.DeleteObject(disposeFontH); Interfaces26: IShellItem
DeleteObject(hbitmap); user3227: CreateIcon
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(imgHandle);
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(imgHandle); 29: GetIconInfo
if (ii.hbmColor != IntPtr.Zero) DeleteObject(ii.hbmColor);
if (ii.hbmMask != IntPtr.Zero) DeleteObject(ii.hbmMask);
[DllImport("gdi32.dll", EntryPoint = "DeleteObject")]
static extern IntPtr DeleteObject(IntPtr hDc);
Win32.DeleteObject(hBitmap);
public extern static Bool DeleteObject(IntPtr hObject); Constants31: EMR_
EMR_DELETEOBJECT = 40, kernel3232: DeviceIoControl
FsctlDeleteObjectId = (EFileDevice.FileSystem << 16) | (40 << 2) | EMethod.Buffered | (0 << 14), |