请大虾给出一个用WDM的代码,学习学习,谢。我抄一段先:
Conclusion
WDM video capture was designed to resolve the problems inherent in the Video for Windows architecture. The main advantages of WDM video capture are:
32 bit drivers.
Synergy between DirectShow and CSA.
Single class driver architecture for hardware (such as video ports and chip sets) that is shared between video capture devices and DVD/MPEG devices.
Television tuner, input selection, and support for fields, VBI, and video port extensions (VPE).
One driver works on both Windows 98 and NT platforms.
Because of the large installed base of Video for Windows applications, Video for Windows drivers will continue to be used for devices that are primarily used for capturing movies. Version 1.1e of Video for Windows currently ships in Windows 98 to provide operating system support for these devices. However, the WDM video capture architecture provides optimal support for capture devices used primarily for TV viewing and video conferencing.