1/4 NtCreateMailslotFile tests
Jeff L
lats at yless4u.com.au
Sat Feb 17 03:58:03 CST 2007
Dmitry Timoshkov wrote:
> "Jeff L" <lats at yless4u.com.au> wrote:
>
>>> To close the handle returned by an NT API you have you use an NT API
>>> as well.
>
> What is not apparent in the explanation above?
I have no problem with what you have said though I did have a bit of
difficulty marrying to the sentence below.
>
>> Have reread MSDN
>> http://msdn2.microsoft.com/en-us/library/ms648410.aspx and it seems
>> that NtClose has been superseded by CloseHandle. So I suppose that
>> CloseHandle is the one to use.
>
> The information in MSDN is misleading in this case, CloseHandle is a
> kernel32
> API, not an NT (native) one.
>
So the correct move is to use the depreciated function? Microsoft
appears to be pushing people away from NtClose. Is the it that they are
reserving NtClose etc for their ntdll use?
Jeff
More information about the wine-devel
mailing list