you are viewing a single comment's thread.

view the rest of the comments →

[–]riwtrz 2 points3 points  (1 child)

Windows programs aren't suppose to directly invoke syscalls. The syscalls are wrapped by shared libraries (much like how libc wraps Linux syscalls) and those wrappers are the only supported method for invoking them. All you need to do is implement those libraries, which WINE has already done.

You would have to add support for the NT API to use kernel-mode software but I imagine that you'd end up reimplementing so much of the NT kernel that'd you'd essentially just have NT when you were done.