midl question

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu Mar 27 07:21:24 CDT 2008





> From: dmitry at codeweavers.com> To: leslie_alistair at hotmail.com> CC: wine-devel at winehq.org> Subject: Re: midl question> Date: Thu, 27 Mar 2008 19:50:34 +0800> > "Alistair Leslie-Hughes" <leslie_alistair at hotmail.com> wrote:> > > In an IDL file I need to define the following> > typedef HRESULT (__stdcall *FExecuteInAppDomainCallback) (void* cookie);> > > > How do i get midl to understand what __stdcall is defined to?> > indexsrv.idl does:> > cpp_quote("struct tagTEXT_SOURCE;")> cpp_quote("typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);") Hi Dmitry,
  This isnt going to work for me.  Here is more information that I should of included in the first email.
interface ICLRRuntimeHost : IUnknown
...
HRESULT ExecuteInAppDomain([in] DWORD dwAppDomainId,                               [in] FExecuteInAppDomainCallback pCallback,                               [in] void* cookie);
...
So FExecuteInAppDomainCallback has to be defined or I will get compile errors.
 
Best Regards
 Alistair Leslie-Hughes
_________________________________________________________________
Are you paid what you're worth? Find out: SEEK Salary Centre
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080327/e535a3b7/attachment.htm 


More information about the wine-devel mailing list