Map 32-bit handles through pointer keys without deleting registered objects.
More...
#include <registry.h>
|
| void | SetDwordPointerMapValue (DWORD key, Value *value) |
| | Insert or replace a borrowed object pointer using the handle bits as the map key.
|
| BOOL | RemovePlaybackRegistryKey (DWORD key) |
| | Remove a mapping without releasing the registered object.
|
| | CMapPtrToPtr (int blockSize=10) |
| | Initialise an empty map with 17 buckets allocated on first insertion.
|
| | ~CMapPtrToPtr () override |
| | Release buckets and association pools without deleting key or value objects.
|
| int | GetCount () const |
| UINT | GetHashTableSize () const |
| void | SetAt (void *key, void *value) |
| | Insert or replace a pointer without releasing the previous value.
|
| BOOL | RemoveKey (void *key) |
| | Remove an association and release all storage when the map becomes empty.
|
| void | InitHashTable (UINT hashSize, BOOL allocate=TRUE) |
| | Replace bucket storage in an empty map without changing the association-pool configuration.
|
| virtual CRuntimeClass * | GetRuntimeClass () const |
| virtual | ~CObject () |
| | The base destructor does not perform additional cleanup.
|
| virtual void | Serialize (CArchive &archive) |
| | Do not serialise archive data.
|
| virtual void | AssertValid () const |
| | Do not validate object state.
|
| virtual void | Dump (CDumpContext &context) const |
| | Do not emit diagnostic output.
|
template<typename Value>
requires
std::is_class_v<Value>
class EarDwordPointerRegistry< Value >
Map 32-bit handles through pointer keys without deleting registered objects.
- Template Parameters
-
| Value | The registered class type. |
◆ SetDwordPointerMapValue()
Insert or replace a borrowed object pointer using the handle bits as the map key.
- Parameters
-
| key | The 32-bit handle, widened without sign extension on 64-bit platforms. |
| value | The borrowed object pointer, possibly null. |
- Ghidra address:
- EAR: 0x100039e0
◆ RemovePlaybackRegistryKey()
Remove a mapping without releasing the registered object.
- Parameters
-
| key | The 32-bit handle supplied at registration. |
- Returns
- TRUE when an entry was removed; otherwise FALSE.
- Ghidra address:
- EAR: 0x10009500
The documentation for this class was generated from the following file: