// @pymethod |PyIShellLibrary|SetIcon|Sets the library icon
PyObject *PyIShellLibrary::SetIcon(PyObject *self, PyObject *args)
{
	IShellLibrary *pISL = GetI(self);
	if ( pISL == NULL )
		return NULL;
	TmpWCHAR Icon;
	PyObject *obIcon;
	// @pyparm str|Icon||Icon location in "module,resource" syntax
	if ( !PyArg_ParseTuple(args, "O:SetIcon", &obIcon) )
		return NULL;
	if (!PyWinObject_AsWCHAR(obIcon, &Icon, FALSE))
		return NULL;

	HRESULT hr;
	PY_INTERFACE_PRECALL;
	hr = pISL->SetIcon(Icon);
	PY_INTERFACE_POSTCALL;

	if ( FAILED(hr) )
		return PyCom_BuildPyException(hr, pISL, IID_IShellLibrary );
	Py_INCREF(Py_None);
	return Py_None;
}