IsGUIThread function Null safety user32

int IsGUIThread(
  1. int bConvert
)

Determines whether the calling thread is already a GUI thread. It can also optionally convert the thread to a GUI thread.

BOOL IsGUIThread(
  BOOL bConvert
);

Implementation

int IsGUIThread(int bConvert) => _IsGUIThread(bConvert);