[python-win32] What does pythoncom interface look like?

Kurt Eilander webguy at totalrewind.com
Sun Jan 8 22:50:24 EST 2017


Hey all,

I'm trying to create a win32com server that implements a standard 
interface (IExtractImage)

I've added the iid to _com_interfaces_ and the method names to 
_public_methods_, but now I'm at a complete loss how to implement them.

For instance, given the method,

HRESULT IExtractImage::GetLocation(
   [out]           LPWSTR pszPathBuffer,
   [in]            DWORD  cchMax,
   [out]           DWORD  *pdwPriority,
   [in]const  SIZE   *prgSize,
   [in]            DWORD  dwRecClrDepth,
   [in, out]       DWORD  *pdwFlags
);

How in the world is that supposed to look as a python method??

(Or is there some c++ or other glue I'd need to write to define that?)


Thanks,
-K

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20170108/91f1989c/attachment.html>


More information about the python-win32 mailing list