Is there interest in undocumented API definitions for dlls other than ntdll ? (e.g, user32, gdi32, etc) #2573
-
The title says it (or asks it) all. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sure, at least to some extent. You can already find some non-ntdll function definitions in As for user32 and gdi32 specifically, you can see that |
Beta Was this translation helpful? Give feedback.
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
, andusermgr.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 usingEnumProcesses
when we haveNtQuerySystemInformation
(i.e., it brings no added value), but it's not practical…