Stores an element in the handle manager, returning a unique handle for that element.
Clears the handle manager, returning it to its initial state.
Retrieves an element from the handle manager by its handle. If no element exists at the handle, or the handle is no longer valid, null is returned. If the type of the stored element cannot store null, an exception is raised instead.
Retrieves an element from the handle manager by its handle, storing the result in an out parameter.
Removes an element from the handle manager.
Replaces the element referred to by a handle in the handle manager.
Returns the number of elements currently stored in the handle manager.