GetSysColor function Null safety user32

int GetSysColor (
  1. int nIndex

Retrieves the current color of the specified display element. Display elements are the parts of a window and the display that appear on the system display screen.

DWORD GetSysColor(
  int nIndex


int GetSysColor(int nIndex) {
  final _GetSysColor = _user32.lookupFunction<Uint32 Function(Int32 nIndex),
      int Function(int nIndex)>('GetSysColor');
  return _GetSysColor(nIndex);