EnumDesktopWindows() and Win2K

Hello,

I try to port a Windows NT 4.0 Service to Windows 2000.
Windows 4.0 SP6 the API EnumDesktopWindows() runs well, but
on Windows 2000 Professional I get the error 997 (Overlapped
IO operation in progress).

The service creates processes on a different windowstation and
different desktop (CreateProcessAsUser), I use the function to
enumerate all windows on this desktop.

Can anyone help me ?

Thanx

Thomas

Can you send me your code to let me find the bug in it ?

Paul

-----P?vodn? zpr?va-----
Od: Rinker, Thomas [SMTP:xxxxx@all-for-one.de]
Odesl?no: 18. ?ervence 2000 11:07
Komu: NT Developers Interest List
P?edm?t: [ntdev] EnumDesktopWindows() and Win2K

Hello,

I try to port a Windows NT 4.0 Service to Windows 2000.
Windows 4.0 SP6 the API EnumDesktopWindows() runs well, but
on Windows 2000 Professional I get the error 997 (Overlapped
IO operation in progress).

The service creates processes on a different windowstation and
different desktop (CreateProcessAsUser), I use the function to
enumerate all windows on this desktop.

Can anyone help me ?

Thanx

Thomas


You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)