亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? com_vdd.htm

?? DD sample implements serial port support for the Virtual DOS Machine (VDM). Driver for windows. Tool
?? HTM
字號:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>COM_VDD</TITLE>
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">

<FONT FACE="Verdana"><H2>COM_VDD </H2>
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary documentation and subject to change.]</span></P>
<H3>SUMMARY</H3>
</FONT><FONT FACE="Verdana" SIZE=2><P>This VDD sample implements serial port support for the Virtual DOS
Machine (VDM) under Microsoft&#174; Windows&nbsp;NT&#174;/Windows&#174;&nbsp;2000.

<P>The Windows NT/Windows 2000 VDM has a built-in Virtual Device Driver for serial
communications, so this sample driver is completely redundant. It
illustrates how serial support might have been implemented using Win32
and the Windows NT DDK. This sample is based in part on the built-in
serial driver, but it has been significantly modified and works differently.  You should not rely on any feature of this driver when writing serial I/O code that might be used under Windows NT.

<H3>BUILDING THE SAMPLE</H3>
</FONT><FONT FACE="Verdana" SIZE=2>To install this VDD, use regedit to modify <B>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\VirtualDeviceDrivers\VDD</B> to include ddkroot\lib\*\com_vdd.dll from your DDK tree.  Shut down and restart Windows 2000 to let this change take effect.  <P>

<B>Note:</B> Once you install the DLL as a VDD, you can only modify (rebuild) it when no VDMs are running.  Use regedit to uninstall the VDD from HKEY_LOCAL_MACHINE\...\VDD if you want to use the built-in serial support.<P>

An optional feature of a VDD is the direct dispatch function.  Your application can call this function directly instead of through the I/O instruction trap.  A sample direct dispatch function is included (VDDDispatch), but it has not been completed or tested at this time. You may use it as a guide, but be aware of its status.  Also, there is no equivalent to this function in the built-in serial support.<P>

</FONT><FONT FACE="Verdana"><H3>CODE TOUR</H3>
</FONT><FONT FACE="Verdana" SIZE=2><P>The code is split into three modules.  The first module (Com_vdd.c) is the VDD interface.  This holds the code to install the VDM hooks and initialize the virtual UARTs, and to close and release them.  The second module (Pc_com.c) implements the DOS interface to the virtual UARTs.  It handles IN and OUT instructions to the UART ports and generates simulated interrupts as appropriate.  The final module (Nt_com.c) implements the interface to Win32.<P>

<P>Unlike the built-in serial support, there is no provision for this VDD to ever release the serial port once it is used.  As long as the VDM remains active, you will be able to access the serial port from it, but otherwise the serial port is locked out.  You should consider whether this is the way you want your VDD to act, and how you might deal with this problem.  One option would be to dynamically load and unload your VDD rather than installing it permanently.<P>

This VDD is multithreaded.  Besides the thread that executes the DOS code, there is a thread that monitors the serial port status and an optional thread for transmit buffering.  Multithreading is one way you can get better performance and reduce the drag on other apps.<P>

Transmit buffering is an example of how this works.  Through testing, it was found that byte transmission offered the most room for improvement.  Each transmitted byte was being output using a WriteFile call. The overhead can be reduced by collecting several bytes into a buffer before doing the WriteFile.  A separate transmit thread helps this work by delaying the actual write for a few milliseconds while trying to fill the buffer.</P>

<P>Transmit buffering also shows an example of how queues can be implemented using Win32.  Queues are not supported directly by Win32, but they are easy to implement using a mutual exclusion object and a semaphore object.  The TX_enqueue and TX_dequeue functions and TX_queue structure show one way to do this.<P>

Overlapped I/O is another point that this VDD illustrates well.  Under Win32 you must specify overlapped I/O or any file operation will block all others until it completes.  For serial communications this includes WaitCommEvent as well as ReadFile and WriteFile.  In the VDD this would have prevented any reads or writes while the status monitoring thread was waiting for a comm event.  See the wait_comm, read_comm and write_comm routines for details.<P>

A CRITICAL_SECTION object is used to control access to the UART state. This allows the status monitoring thread to update the virtual UART state asynchronously.  A Mutex object could have been used as with the transmit buffers, but a critical section is more appropriate in this context.<P>

</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>

<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; Microsoft Corporation 1999</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美女尤物国产一区| 91在线视频网址| 欧美激情综合网| 欧美一个色资源| 欧美一区二区三区在线视频| 99re亚洲国产精品| 欧美系列在线观看| 91丝袜美女网| 99久久免费精品高清特色大片| 欧美理论在线播放| 欧美日本不卡视频| 欧美大片免费久久精品三p| 欧美一区二区免费视频| 国产精品久久看| 亚洲精选在线视频| 日韩美女久久久| 久久99国产乱子伦精品免费| 成人免费一区二区三区视频 | 日韩片之四级片| 亚洲尤物视频在线| 日本欧洲一区二区| 国产一区二区三区日韩| 成人国产精品免费观看| 在线亚洲+欧美+日本专区| 欧美日本一道本| 亚洲国产综合色| 国产在线精品一区二区不卡了| 欧美日韩不卡一区二区| 亚洲综合一二区| 91浏览器在线视频| 亚洲女同一区二区| 狠狠色丁香久久婷婷综合丁香| 不卡一区在线观看| 国产精品久久网站| 成人国产精品免费| 国产精品―色哟哟| 日本成人在线网站| 欧美一区日本一区韩国一区| 婷婷综合久久一区二区三区| 国产精品99久久久久久久女警| 色噜噜久久综合| 国产亚洲精品免费| 男人的天堂亚洲一区| 99热精品一区二区| 欧美成人bangbros| 亚洲综合免费观看高清在线观看| 9i在线看片成人免费| 亚洲精选免费视频| 欧美午夜精品久久久久久超碰| 五月婷婷色综合| 欧美电影免费观看高清完整版在线| 丝袜脚交一区二区| 在线亚洲精品福利网址导航| 天堂成人国产精品一区| 日韩你懂的电影在线观看| 国产成人精品免费网站| 精品久久久久久无| 成人一区二区三区视频在线观看 | 在线免费观看日本一区| 亚洲国产精品一区二区www在线| 在线电影欧美成精品| 韩国女主播成人在线观看| 亚洲欧洲韩国日本视频| 欧美日韩精品一区二区三区四区| 蜜桃视频第一区免费观看| 久久久久久亚洲综合影院红桃| 人禽交欧美网站| 国产清纯白嫩初高生在线观看91 | 亚洲精品国产第一综合99久久| 欧美日精品一区视频| 亚洲精品网站在线观看| 欧美一区二区三区电影| 成人午夜免费视频| 亚欧色一区w666天堂| 欧美唯美清纯偷拍| 国产尤物一区二区在线| 亚洲精品五月天| 久久看人人爽人人| 欧美日韩国产在线观看| 丁香啪啪综合成人亚洲小说| 亚洲国产精品久久人人爱蜜臀 | 国产在线日韩欧美| 亚洲综合图片区| 国产精品久久久久影院亚瑟| 欧美电影在线免费观看| 91麻豆国产福利在线观看| 国内精品写真在线观看| 亚洲综合在线观看视频| 99精品国产一区二区三区不卡| 日韩和欧美的一区| 亚洲欧美日韩国产综合| 精品久久久久av影院| 欧美精品视频www在线观看| a亚洲天堂av| 国产成人在线免费观看| 麻豆国产精品一区二区三区 | 韩国欧美国产一区| 日韩成人免费电影| 亚洲福利一区二区| 亚洲欧美另类小说视频| 国产精品麻豆一区二区| 久久久蜜桃精品| 精品伦理精品一区| 日韩精品一区二区三区中文不卡| 欧美午夜宅男影院| 色噜噜偷拍精品综合在线| 91在线视频18| 99久久婷婷国产综合精品电影 | 欧美猛男超大videosgay| 99精品视频一区二区三区| 国产91精品在线观看| 亚洲高清视频的网址| 中文字幕一区二区三区乱码在线 | 精品久久久影院| 日韩精品一区二区三区视频在线观看 | 国产精品一区在线观看你懂的| 全部av―极品视觉盛宴亚洲| 午夜精品一区在线观看| 亚洲444eee在线观看| 午夜激情一区二区| 日本亚洲最大的色成网站www| 蜜桃av一区二区三区| 裸体在线国模精品偷拍| 久久久91精品国产一区二区精品| 日韩精品一区二| 久久久久久电影| 国产精品热久久久久夜色精品三区| 国产欧美一区二区三区在线老狼| 国产天堂亚洲国产碰碰| 中文字幕日韩精品一区| 亚洲欧美日韩精品久久久久| 亚洲在线免费播放| 欧美a一区二区| 国产成a人无v码亚洲福利| 不卡av免费在线观看| 欧美午夜精品理论片a级按摩| 欧美二区在线观看| 久久综合狠狠综合| 91精品国产91久久久久久一区二区 | 国产精品视频观看| 亚洲宅男天堂在线观看无病毒| 日韩av不卡在线观看| 国产一区二三区好的| 99综合电影在线视频| 欧美视频一区在线| 欧美精品一区二区三区在线播放| 欧美午夜精品免费| 日韩一区二区三区在线| 日韩精品最新网址| 国产精品久久看| 日本免费新一区视频| 国产99久久精品| 欧美丰满美乳xxx高潮www| 国产视频在线观看一区二区三区| 精品视频一区二区三区免费| 国产精品无码永久免费888| 久久一区二区视频| 亚洲免费观看高清完整版在线观看熊| 亚洲网友自拍偷拍| 极品少妇xxxx精品少妇| 色激情天天射综合网| 国产一区在线视频| 亚洲婷婷在线视频| 亚洲欧美另类小说| 亚洲老司机在线| 视频在线观看一区二区三区| 日韩福利视频导航| 欧美aaaaa成人免费观看视频| 精品一区二区在线观看| 国产成人在线免费观看| 91亚洲精品久久久蜜桃| 欧美羞羞免费网站| 91精品国产色综合久久| 欧美本精品男人aⅴ天堂| 精品国产一区二区三区久久影院| 久久综合九色综合欧美亚洲| 久久精品亚洲麻豆av一区二区| 国产精品福利一区二区| 亚洲在线视频网站| 久久国产三级精品| 成人毛片视频在线观看| 欧美亚洲国产一区二区三区va | hitomi一区二区三区精品| 欧美亚洲另类激情小说| 日韩欧美123| 国产精品久久午夜夜伦鲁鲁| 夜夜嗨av一区二区三区四季av| 日韩av成人高清| 成人午夜激情视频| 欧美乱熟臀69xxxxxx| 久久久99精品久久| 亚洲高清中文字幕| 国产成人亚洲综合色影视| 色综合天天综合| 91欧美激情一区二区三区成人| 色综合久久88色综合天天 | 一区二区三区免费| 九色综合国产一区二区三区| 91美女视频网站| 久久久久久久久久久久久夜|