how do i fine the device pointer (not code) - MPGH