发明名称 METHOD, COMPUTER PROGRAM PRODUCT, AND DATA STRUCTURE FOR VALIDATING CREATION OF AND ROUTING MESSAGES TO FILE OBJECTS
摘要 A method, computer program product, and data structure is provided overco me excess code development associated with developing device drivers that are hierarchically related and provides standardization to driver developers by listing in the private area of a device object types of file objects, including specific IR P handlers associated therewith, that may be created under that device object to thereb y provide a device object context. In like manner, each file object has listed in the private area types of other file objects, again including specific IRP handlers associated therewith, that may be created under that particular file object to thereby provide a file objec t context. The default handler for a driver object points to a multiplexing function that will process an incoming IRP based on the available context information to "route" the IRP t o the appropriate handler. Each file object has reference to a plurality of dispat ch function references that are used by the IRP handlers to fulfill a particular request . A request to create a file object will also be validated to assure that only file objects of the appropriate type may be created in hierarchy, again according to the context information .
申请公布号 CA2208135(C) 申请公布日期 2004.05.04
申请号 CA19972208135 申请日期 1997.06.19
申请人 MICROSOFT CORPORATION 发明人 SHAW, GEORGE H., J.;WOODRUFF, BRYAN A.
分类号 G06F9/46;G06F9/44;(IPC1-7):G06F9/44;G06F12/08;G06F17/30 主分类号 G06F9/46
代理机构 代理人
主权项
地址