nt-user-call

Crates.iont-user-call
lib.rsnt-user-call
version0.1.1
created_at2025-01-23 01:00:08.568085+00
updated_at2025-01-23 19:45:00.190227+00
descriptionProvides bindings to all functions accessible via the `NtUserCall*` family of system calls.
homepagehttps://github.com/Fulgen301/nt-user-call
repositoryhttps://github.com/Fulgen301/nt-user-call
max_upload_size
id1527307
size83,452
(Fulgen301)

documentation

README

nt-user-call

This library provides bindings to all functions accessible via the NtUserCall* family of system calls.

Up until Windows 11, a bunch of system calls were grouped together into a dispatch table, apfnSimpleCall, and invoked by calling a dedicated family of syscalls with the respective index of that function. For example, CreateMenu would be called via NtUserCallNoParam(0);, with 0 being its index in the dispatch table in all supported Windows versions. However, the number of functions and their indices in that table varied between Windows versions, Windows versions prior to Windows 10 did not export the NtUserCall* family of syscalls, and the dispatch table was removed in Windows 11 in its entirety, with all functions being converted to syscalls exported from win32u.dll.

This library provides a unified interface to all of these functions by abstracting away of the differences between indices, syscall availability and exported syscalls in Windows 11.

Commit count: 8

cargo fmt