<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:HelveticaNeue;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:DengXian;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="ZH-CN">
<div class="WordSection1">
<p class="MsoNormal" align="left" style="text-align:left;line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">Hello, I write a demo under windows unsing
<b>spice-client-glib only</b>, I can get usb devices from UsbManager. but hotplug is not working. no device change event recieved.</span><span lang="EN-US" style="font-size:12.0pt;line-height:150%;font-family:"HelveticaNeue",serif;color:#333333"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">I found the function g_udev_client_initable_init in win-usb-dev.c create a hidden window to monitor WM_DEVICECHANGE message. but I could
 not found the corresponding message loop</span><span style="color:#333333">(</span><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">GetMessage/DispatchMessage...). Where is the message loop(gtk)? Does it depends on some higher library(gtk)</span><span style="color:#333333">?</span><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">How
 can I get usb hotplug working?<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">I resent this message because I found that I am not a subscriber to the mailing list. Thanks.<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:150%"><span lang="EN-US" style="font-family:"HelveticaNeue",serif;color:#333333">best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:SimSun"><o:p> </o:p></span></p>
</div>
</body>
</html>