pythoncom.GetScodeString

string = GetScodeString(scode)

Returns the string for an OLE scode (HRESULT)

Parameters

scode : int

The OLE error code for the scode string requested.

Comments

This will obtain the COM Error message for a given HRESULT. Internally, PythonCOM uses this function to obtain the description when a com_error COM Exception is raised.