Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Sep : BDS2006 - incorrect SetThreadIdealProcessor declaration
| Subject: | BDS2006 - incorrect SetThreadIdealProcessor declaration |
| Posted by: | "angri" (andreiatscanningsystemsdotcomdotau) |
| Date: | Fri, 7 Sep 2007 16:49:42 |
Just to let you know
BDS2006. Windows.pas - function SetThreadIdealProcessor declared as BOOL,
while it should be DWORD. It actually returns the the previuos preferred
processor.
Also function OpenThread() is not defined, as well as constants like
THREAD_SET_INFORMATION ($0020) and THREAD_QUERY_INFORMATION ($0040).