void ObjectSidebar::OnFirstDisplay() { static_cast<ObjectBottomBar*>(m_BottomBar)->OnFirstDisplay(); wxBusyInfo busy (_("Loading list of objects")); // Get the list of objects from the game AtlasMessage::qGetObjectsList qry; qry.Post(); p->m_Objects = *qry.objects; // Display first group of objects FilterObjects(); }
NTSTATUS NTAPI HookedNtQueryObject(HANDLE Handle, OBJECT_INFORMATION_CLASS ObjectInformationClass, PVOID ObjectInformation, ULONG ObjectInformationLength, PULONG ReturnLength) { NTSTATUS ntStat = DllExchange.dNtQueryObject(Handle, ObjectInformationClass, ObjectInformation, ObjectInformationLength, ReturnLength); if (NT_SUCCESS(ntStat) && ObjectInformation) { if (ObjectInformationClass == ObjectTypesInformation) { FilterObjects((POBJECT_TYPES_INFORMATION)ObjectInformation); } else if (ObjectInformationClass == ObjectTypeInformation) { FilterObject((POBJECT_TYPE_INFORMATION)ObjectInformation); } } return ntStat; }
void CFDE_VisualSetIterator::Reset() { FilterObjects(m_dwFilter); }
void ObjectSidebar::OnSelectFilter(wxCommandEvent& WXUNUSED(evt)) { FilterObjects(); }