Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Constants, prefix the name with the module name and a period.
IsGUIThread (Constants)
.
Summary:
The IsGUIThread function tests whether the calling thread is already a graphical user interface (GUI) thread. It can also optionally convert the thread to a GUI thread.
C# Constants:
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool IsGUIThread([MarshalAs(UnmanagedType.Bool)] bool bConvert);
VB Constants:
TODO
Notes:
None.
Parameters
bConvert
If TRUE and the thread is not a GUI thread, convert thread to a GUI thread.
Return Value
The function returns a nonzero value in the following situations:
Otherwise, the function returns zero.
If the calling thread is already a GUI thread.
If bConvert is TRUE and the function successfully converts the thread to a GUI thread.
If bConvert is TRUE and the function cannot successfully convert the thread to a GUI thread, IsGUIThread returns ERROR_NOT_ENOUGH_MEMORY.
Click to read this page5/15/2017 4:54:30 AM - -94.229.131.27
Click to read this page5/15/2017 4:54:30 AM - -94.229.131.27
Please edit this page!
Do you have...
- helpful tips?
- corrections to the existing content?
- additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it!
