// @pymethod |PyIOleClientSite|OnShowWindow|Description of OnShowWindow. PyObject *PyIOleClientSite::OnShowWindow(PyObject *self, PyObject *args) { IOleClientSite *pIOCS = GetI(self); if ( pIOCS == NULL ) return NULL; // @pyparm int|fShow||Description for fShow BOOL fShow; if ( !PyArg_ParseTuple(args, "i:OnShowWindow", &fShow) ) return NULL; HRESULT hr; PY_INTERFACE_PRECALL; hr = pIOCS->OnShowWindow( fShow ); PY_INTERFACE_POSTCALL; if ( FAILED(hr) ) return OleSetOleError(hr); Py_INCREF(Py_None); return Py_None; }