Add NtUserGetAtomName syscall

This commit is contained in:
Igor Pissolati
2025-04-20 16:30:48 -03:00
parent 759bd0e9fb
commit 6deefb932f
3 changed files with 32 additions and 0 deletions

View File

@@ -312,3 +312,14 @@ bool process_context::delete_atom(uint16_t atom_id)
return true;
}
const std::u16string* process_context::get_atom_name(uint16_t atom_id) const
{
const auto it = atoms.find(atom_id);
if (it == atoms.end())
{
return nullptr;
}
return &it->second.name;
}