GetMessageTime function Null safety user32

int GetMessageTime ()

Retrieves the message time for the last message retrieved by the GetMessage function. The time is a long integer that specifies the elapsed time, in milliseconds, from the time the system was started to the time the message was created (that is, placed in the thread's message queue).

LONG GetMessageTime();


int GetMessageTime() {
  final _GetMessageTime = _user32
      .lookupFunction<Int32 Function(), int Function()>('GetMessageTime');
  return _GetMessageTime();