>
> Calling COM methods is straightforward just like with other Python objects.
> They can be called with positional and named arguments.
>
> Arguments marked [out] or [out, retval] in the IDL are returned from a
> sucessful method call, in a tuple if there is more than one. If no [out]
>  or [out, retval] arguments are present, the HRESULT returned by the
> method call is returned. When [out] or [out, retval] arguments are
> returned from a sucessful call, the HRESULT value is lost.
>
> If the COM method call fails, a COMError exception is raised, containing
> the HRESULT value.
>

Is it true that there is no way to get a successful HRESULT from a call that
has [out] variables? An example is a function that can timeout, it may
return either S_OK (0) or S_FALSE (1), an the difference between the two is
important!

Is there anyway for me to retrieve that 'lost' HRESULT?
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to