 |
GetGUIThreadInfo ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves information about the active window or a specified graphical user interface (GUI) thread. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL GetGUIThreadInfo(
DWORD idThread,
LPGUITHREADINFO lpgui
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetGUIThreadInfo IN user32;
INTEGER idThread,;
STRING @ lpgui
|
 |
 |
 |
| Parameters: |
 |
idThread
[in] Identifies the thread for which information is to be retrieved.
lpgui
[out] Pointer to a GUITHREADINFO structure that receives information describing the thread.
|
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| My comment: |
 |
MSDN: This function succeeds even if the active window is not owned by the calling process. If the specified thread does not exist or have an input queue, the function will fail.
This function is useful for retrieving out-of-context information about a thread. The information retrieved is the same as if an application retrieved the information about itself.
|
 |
 |
| Word Index links for the GetGUIThreadInfo : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2003-01-18 10:57:15 | | Modified: | 2003-01-18 10:59:34 | Visited in last 7 days: 17 |