Every network driver provides a set of network capabilities, such as connecting to devices and managing print jobs. To help Windows determine what capabilities the driver supports, the driver exports the WNetGetCaps function. Windows calls WNetGetCaps with an index specifying a given function category, and WNetGetCaps returns a bit mask specifying which network functions the driver supports for that given category. WNetGetCaps also returns other information about the driver, such as its version number.