DeleteObject function Null safety gdi32

int DeleteObject(
  1. int ho
)

The DeleteObject function deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.

BOOL DeleteObject(
  HGDIOBJ ho
);

Implementation

int DeleteObject(int ho) => _DeleteObject(ho);