znsoft
管理员
管理员
  • 注册日期2001-03-23
  • 最后登录2023-10-25
  • 粉丝300
  • 关注6
  • 积分910分
  • 威望14796点
  • 贡献值7点
  • 好评度2410点
  • 原创分5分
  • 专家分100分
  • 社区居民
  • 最爱沙发
  • 社区明星
阅读:1193回复:1

MUP Changes in Windows Vista

楼主#
更多 发布于:2007-08-02 09:32


The NT Insider, Vol 14, Issue 1, January - February 2007 | Published: 07-Feb-07| Modified: 07-Feb-07


Those implementing legacy file system filter drivers and monolithic redirectors will be particularly interested in some important changes in Windows Vista relating to the way that the Multiple UNC Provider (MUP) driver functions. Since these changes are specific to Windows Vista, you will probably need to distinguish between legacy platforms and Windows Vista at compile time (multiple driver binaries) or at run time (dynamic determination).


In the past, a file system driver (typically a redirector) that supported the universal naming convention (UNC) would register with MUP via the FsRtlRegisterUncProvider interface using a named device object. In Windows Vista, the registration is done using an unnamed device object and a call to FsRtlRegisterUncProviderEx, along with the name of its control device object.


Depending on the version of Windows and file system implementation, some redirectors have chosen to also register as file systems. However, because MUP now registers as a file system, your redirector no longer needs to do this. Listed below are descriptions of what this change means to you.

For legacy filters that rely on file system registration change notifications, you will now see (and may filter) MUP. However, you may no longer see registrations for the individual redirectors.
For legacy filters that used MUP registrations to detect file systems that did not register, you may need to revise your code so it no longer functions in this fashion. Alternatively, you may prefer to deal with seeing the same I/O operation twice - once when presented to MUP and a second time when presented to the UNC-supporting file system.
For mini-filters, you will now see requests as they go to MUP and not to the underlying redirector. This may impact the presentation of names. At the time of this writing, we do not have sufficient information to describe the behavior changes in detail. For example, previously LAN Manager indicated two separate directories were opened when it's short and long name were used, even though that wasn't the case. We expect this behavior to change with MUP involved.
For file systems that register as UNC providers, if you did not previously register as a file system, you would suddenly see filters interacting with you. You should expect to see significantly different behavior and access patterns.
For file systems that register as UNC providers and register as file systems, you should modify your behavior to no longer register, otherwise you risk adding filters multiple times in your storage stack.

Anyone implementing a network redirector that must also work in the Windows Vista environment should be sure to read the detailed release notes in the WDK ("MUP Changes in Microsoft Windows Vista"). You should also allocate sufficient time for testing and resolving bugs. In addition, we strongly encourage you to participate in the Microsoft Plugfest events in order to work directly with the developers of file system filter drivers.
 
http://www.zndev.com 免费源码交换网 ----------------------------- 软件创造价值,驱动提供力量! 淡泊以明志,宁静以致远。 ---------------------------------- 勤用搜索,多查资料,先搜再问。
devia
论坛版主
论坛版主
  • 注册日期2005-05-14
  • 最后登录2016-04-05
  • 粉丝3
  • 关注0
  • 积分1029分
  • 威望712点
  • 贡献值1点
  • 好评度555点
  • 原创分8分
  • 专家分4分
沙发#
发布于:2007-08-02 15:29
Microsoft又给大家设了一个陷阱,收藏之!
人总在矛盾中徘徊。。。
游客

返回顶部