This method of the DllLib class retrieves the object that is encapsulated by a pinned handle.
public static int getPinnedObject(int handle);
Returns the object that is encapsulated by a pinned handle.