Server Test 85 dies in NT4 SP5 with entry point Get WindowInfo not found in USER32.dll
Earle F. Philhower III
earle@ziplabel.com
Sun May 18 18:06:00 GMT 2003
Salut Sylvain,
At 11:41 AM 5/18/2003 +0200, you wrote:
>Strange, as this function is included in NT4/user32.dll since sp3 ?
>see
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Windowing/Windows/WindowReference/WindowFunctions/GetWindowInfo.asp
That's what MSDN online says, but if you look in the Platform SDK Feb 2003
release
they say NT4SP6. I guess that updating docs for unsupported OSes isn't one of
their priorities!
In any case you can use GWL instead to get the info needed. In the
WM_SYSCOMMAND handler and WM_INITMENU handlers replace the GetWindowInfo
with
...
long dwExStyle;
dwExStyle = GetWindowLong(hwnd, GWL_EXSTYLE);
if (dwExStyle & WS_EX_TOPMOST)
...
-Earle F. Philhower, III
earle@ziplabel.com
cdrlabel - ZipLabel - FlpLabel
http://www.cdrlabel.com
More information about the Cygwin-xfree
mailing list