#ifndef _NTUSER_H
// rev
/**
* The ABI_Get_ForegroundWindow routine has the following behavior:
* Internal shared-server-state accessor exported by win32u x64 but absent from its x86 PE export table.
* The body directly reads 8 bytes at ServerInfo + 7648; it does not validate the supplied
* pointer or perform a syscall. The opaque SERVERINFO layout and lifetime remain unspecified. Do
* not fabricate or dereference a shared object without its layout and lifetime contract.
*
* \param ServerInfo Pointer to the server information.
* \returns The HWND result described above.
*/
NTSYSAPI
HWND
NTAPI
ABI_Get_ForegroundWindow(
_In_ PVOID ServerInfo // PSERVERINFO
);
View code on GitHubNo description available.