1/4 NtCreateMailslotFile tests

Dmitry Timoshkov dmitry at codeweavers.com
Sat Feb 17 08:29:01 CST 2007

"Jeff L" <lats at yless4u.com.au> wrote:

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

It's not deprecated, even Microsof tries to create an impression it is.

> Microsoft 
> appears to be pushing people away from NtClose.

I'd suggest you to find a reason why.

> Is the it that they are 
> reserving NtClose etc for their ntdll use?

Also I'd suggest to learn about a difference between Native and Win32 API
before writing the tests that mix them.


More information about the wine-devel mailing list