Mail Archives: cygwin/1997/11/04/01:00:45
Hi there!
----------
From: Thomas Nichols[SMTP:thomas DOT nichols AT mail DOT com]
Sent: 01 Ноември 1997 г. 17:12
To: gnu-win32 AT cygnus DOT com
Subject: RE: which libs to link
2-minute questions: which lib has GeWindowTask? I'm also having problems
with strlwr but I think it's because of a #undef
Thanks very much to all those who've offered fast and practical advice.
Beats any commercial compiler's support hands down.
Take a look at the following info. It's taken from the MSVC++ 4.2 help pages.
Hope it'll help you!
The GetWindowTask function is not implemented in the WIn32 API.
To maintain compatibility with 16-bit applications, GetWindowTask has been replaced with a macro that calls GetWindowThreadProcessId. Earlier applications can continue to call GetWindowTask as previously documented, but new applications should use GetWindowThreadProcessId.
Remarks
GetWindowTask is defined as returning a value with a HANDLE data type. GetWindowThreadProcessId returns a value with a DWORD data type. The macro that maps GetWindowTask to GetWindowThreadProcessId includes a cast to HANDLE, as follows:
#define GetWindowTask(hwnd) \\
((HANDLE) GetWindowThreadProcessId(hwnd, NULL))
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -