<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 6/1/21 10:27 PM, Jactry Zeng wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4d544297-969e-da28-ae06-5d138c534519@codeweavers.com">
<pre class="moz-quote-pre" wrap="">On 6/1/21 9:22 PM, Jiajin Cui wrote:
</pre>
<blockquote type="cite" style="color: #007cff;">
<pre class="moz-quote-pre" wrap="">
twain_autodetect();
+ if (!IsWindow(parent))
+ parent = *(HWND*)DSM_parent;
+
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">If this is true, you would need to remove the following check.</pre>
</blockquote>
Sorry, please ignore this comment.<br>
<blockquote type="cite"
cite="mid:4d544297-969e-da28-ae06-5d138c534519@codeweavers.com">
<pre class="moz-quote-pre" wrap="">
And I think attaching some tests to verify it won't hurt.
</pre>
</blockquote>
</body>
</html>