{
case SPDRP_CAPABILITIES:
index = 0;
+ swprintf(dap->szTemp, L"%08lx", dwValue);
+ SetListViewText(hwndListView, index++, dap->szTemp);
if (dwValue & CM_DEVCAP_LOCKSUPPORTED)
SetListViewText(hwndListView, index++, L"CM_DEVCAP_LOCKSUPPORTED");
if (dwValue & CM_DEVCAP_EJECTSUPPORTED)
case SPDRP_CONFIGFLAGS:
index = 0;
+ swprintf(dap->szTemp, L"%08lx", dwValue);
+ SetListViewText(hwndListView, index++, dap->szTemp);
if (dwValue & CONFIGFLAG_DISABLED)
SetListViewText(hwndListView, index++, L"CONFIGFLAG_DISABLED");
if (dwValue & CONFIGFLAG_REMOVED)
dap->hMachine);
index = 0;
+ swprintf(dap->szTemp, L"%08lx", dwStatus);
+ SetListViewText(hwndListView, index++, dap->szTemp);
if (dwStatus & DN_ROOT_ENUMERATED)
SetListViewText(hwndListView, index++, L"DN_ROOT_ENUMERATED");
if (dwStatus & DN_DRIVER_LOADED)
SetListViewText(hwndListView, index++, L"DN_NO_SHOW_IN_DM");
if (dwStatus & DN_BOOT_LOG_PROB)
SetListViewText(hwndListView, index++, L"DN_BOOT_LOG_PROB");
-
-// swprintf(dap->szTemp, L"0x%08x", dwStatus);
-// SetListViewText(hwndListView, 0, dap->szTemp);
}
dap->hMachine);
index = 0;
+ swprintf(dap->szTemp, L"%08lx", dwValue);
+ SetListViewText(hwndListView, index++, dap->szTemp);
+
if (dwValue & CSCONFIGFLAG_DISABLED)
SetListViewText(hwndListView, index++, L"CSCONFIGFLAG_DISABLED");