1/4 NtCreateMailslotFile tests

Dmitry Timoshkov dmitry at codeweavers.com
Sat Feb 17 03:51:19 CST 2007


"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?

> 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.

-- 
Dmitry.



More information about the wine-devel mailing list