+static VOID
+DisplayCsFlags(IN PDEVADVPROP_INFO dap,
+ IN HWND hwndListView)
+{
+ DWORD dwValue = 0;
+ INT index;
+
+ CM_Get_HW_Prof_Flags_Ex(dap->szDevName,
+ 0, /* current hardware profile */
+ &dwValue,
+ 0,
+ dap->hMachine);
+
+ index = 0;
+ if (dwValue & CSCONFIGFLAG_DISABLED)
+ SetListViewText(hwndListView, index++, L"CSCONFIGFLAG_DISABLED");
+
+ if (dwValue & CSCONFIGFLAG_DO_NOT_CREATE)
+ SetListViewText(hwndListView, index++, L"CSCONFIGFLAG_DO_NOT_CREATE");
+
+ if (dwValue & CSCONFIGFLAG_DO_NOT_START)
+ SetListViewText(hwndListView, index++, L"CSCONFIGFLAG_DO_NOT_START");
+}
+