<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR><BR>

<HR id=stopSpelling>
<BR>
&gt; From: dmitry@codeweavers.com<BR>&gt; To: leslie_alistair@hotmail.com<BR>&gt; CC: wine-devel@winehq.org<BR>&gt; Subject: Re: midl question<BR>&gt; Date: Thu, 27 Mar 2008 19:50:34 +0800<BR>&gt; <BR>&gt; "Alistair Leslie-Hughes" &lt;leslie_alistair@hotmail.com&gt; wrote:<BR>&gt; <BR>&gt; &gt; In an IDL file I need to define the following<BR>&gt; &gt; typedef HRESULT (__stdcall *FExecuteInAppDomainCallback) (void* cookie);<BR>&gt; &gt; <BR>&gt; &gt; How do i get midl to understand what __stdcall is defined to?<BR>&gt; <BR>&gt; indexsrv.idl does:<BR>&gt; <BR>&gt; cpp_quote("struct tagTEXT_SOURCE;")<BR>&gt; cpp_quote("typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);")<BR>&nbsp;<BR>Hi Dmitry,<BR>
&nbsp; This isnt going to work for me.&nbsp; Here is more information that I should of included in the first email.<BR>
<BR>interface ICLRRuntimeHost : IUnknown<BR>
...<BR>
HRESULT ExecuteInAppDomain([in] DWORD dwAppDomainId,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [in] FExecuteInAppDomainCallback pCallback,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [in] void* cookie);<BR>
...<BR>
So FExecuteInAppDomainCallback has to be defined or I will get compile errors.<BR>
&nbsp;<BR>
Best Regards<BR>
&nbsp;Alistair Leslie-Hughes<BR><br /><hr />Find out: SEEK Salary Centre <a href='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' target='_new'>Are you paid what you're worth? </a></body>
</html>