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: 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); 8: 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. 9: ExtFloodFill
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(vBrush); 10: FillRgn
static extern bool DeleteObject(IntPtr hObject);
DeleteObject(brush);
DeleteObject(hFont); 12: 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)); 15: GetTextMetrics
DeleteObject(hFont);
static extern bool DeleteObject(IntPtr hdc);
Win32::DeleteObject(hFont); 16: LineTo
DeleteObject(SelectObject(pDC, oldpen)); 17: MoveToEx
DeleteObject(SelectObject(pDC, oldpen)); 18: RoundRect
public static extern bool DeleteObject(IntPtr hObject);
GDI32.DeleteObject(thePen);
GDI32.DeleteObject(theBrush); 19: SelectClipRgn
DeleteObject(hRegion); 20: SetMapMode
public static extern int DeleteObject(int hBitmap); DeleteObject(hPen); 21: StretchBlt
DeleteObject(pNew);
static extern bool DeleteObject(IntPtr hObject); 22: 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) kernel3223: DeviceIoControl
FsctlDeleteObjectId = (EFileDevice.FileSystem << 16) | (40 << 2) | EMethod.Buffered | (0 << 14), 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); user3226: CreateIcon
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(imgHandle);
public static extern bool DeleteObject(IntPtr hObject);
DeleteObject(imgHandle); 28: 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); Constants30: EMR_
EMR_DELETEOBJECT = 40, |