Skip to content

Is there interest in undocumented API definitions for dlls other than ntdll ? (e.g, user32, gdi32, etc) #2573

Discussion options

You must be logged in to vote

Sure, at least to some extent. You can already find some non-ntdll function definitions in ntmisc.h, winsta.h, subprocesstag.h, ntsam.h, ntbcd.h, ntuser.h, and usermgr.h. As a general rule, when choosing between alternatives, lower-level APIs take precedence. This is due to the nature of the project and an explicit choice to avoid unnecessary dependencies and abstraction layers on the API side. Of course, it only fully applies if the higher-level API cannot offer advantages (aside from potentially simplifying invocation) over the lower-level one. Example: there is no point in using EnumProcesses when we have NtQuerySystemInformation (i.e., it brings no added value), but it's not practical…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@440bx
Comment options

Answer selected by 440bx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants