Hi, I have another one for you: from the idl file (oleview)
interface ISoftUSBEndpointEvents : IUnknown { ... [helpstring("Fired when an IN transaction is received from the host. Allows device simulator to directly return data to host controller for the transaction."), helpcontext(0x000006bd)] HRESULT _stdcall OnReadTransfer( [in] unsigned char DataToggle, [out] unsigned char* pbDataBuffer, [in] unsigned long cbDataBuffer, [out] unsigned long* cbDataWritten, [out] unsigned char* pbStatus); Note the "[out] unsigned char* pbDataBuffer," while we compare this to microsoft documentation for ISoftUSBEndpointEvents::OnReadTransfer, and especially the given example (http://msdn.microsoft.com/en-us/library/bb201520.aspx) STDMETHODIMP CSoftUSBEndpointEvent::OnReadTransfer(__in BYTE DataToggle, __in_bcount(cbDataBuffer) BYTE *pbDataBuffer, __in ULONG cbDataBuffer, __out ULONG *cbDataWritten, __out BYTE *pbStatus) That [out] has now become an __in because the caller allocates the buffer. is there something (else than editing the generated file) I can do to solve this? -- Regards, Torbjørn Tyridal ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users