made com_ptr::get return by reference so we can take its address for various d3d functions