Including a MOF File (NDIS 5.1)
Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
A description of all custom GUIDs that map to a miniport driver's custom OIDs and/or custom status indications must be included in a Managed Object Format (MOF) file that must be compiled and included in the miniport driver's resource (*.rc) file.
The MOF source file must be of type MOFDATA and have a file extension of .mof. The MOF source file must be compiled into a binary file with Mofcomp.exeand checked with Wmimofck.exe. The following line must be inserted in the miniport driver's *.rc file to include the MOF binary:
MofResource MOFDATA filename.bmf
where FileNameis the file name of the MOF source file.