// @pymethod |PyIBackgroundCopyJob|GetTimes|Description of GetTimes. PyObject *PyIBackgroundCopyJob::GetTimes(PyObject *self, PyObject *args) { IBackgroundCopyJob *pIBCJ = GetI(self); if ( pIBCJ == NULL ) return NULL; if ( !PyArg_ParseTuple(args, ":GetTimes") ) return NULL; BG_JOB_TIMES val; HRESULT hr; PY_INTERFACE_PRECALL; hr = pIBCJ->GetTimes( &val ); PY_INTERFACE_POSTCALL; if ( FAILED(hr) ) return PyCom_BuildPyException(hr, pIBCJ, IID_IBackgroundCopyJob ); return PyObject_FromBG_JOB_TIMES(&val); }