Hello.
I need to access a third-party COM server with following interface definition (idl):
interface IDisplay : IDispatch
{
HRESULT getFramebuffer (
[in] ULONG aScreenId,
[out] IFramebuffer * * aFramebuffer,
[out] LONG * aXOrigin,
[out] LONG * aYOrigin );
};
As you can see, it returns 3 values via [out] parameter modificators. How to handle this via python win32 COM api? For example, i create an object and get IDisplay from it:
object = win32com.client.Dispatch( "VirtualBox.VirtualBox" )
display = object.display
How to call display.getFrameBuffer() so it will work? I have tried different ways, but it's always 'type mismatch' on second argument ([out] for IFrameBuffer)