GetStockObject function Null safety gdi32

int GetStockObject(
  1. int i
)

The GetStockObject function retrieves a handle to one of the stock pens, brushes, fonts, or palettes.

HGDIOBJ GetStockObject(
  int i
);

Implementation

int GetStockObject(int i) => _GetStockObject(i);