Предмет:
Тип роботи:
Курсова робота
К-сть сторінок:
44
Мова:
Українська
if (dwAddr & FILE_DEVICE_WAVE_IN)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_WAVE_IN");
if (dwAddr & FILE_DEVICE_WAVE_OUT)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_WAVE_OUT");
if (dwAddr & FILE_DEVICE_8042_PORT)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_8042_PORT");
if (dwAddr & FILE_DEVICE_NETWORK_REDIRECTOR)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_NETWORK_REDIRECTOR");
if (dwAddr & FILE_DEVICE_BATTERY)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_BATTERY");
if (dwAddr & FILE_DEVICE_BUS_EXTENDER)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_BUS_EXTENDER");
if (dwAddr & FILE_DEVICE_MODEM)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_MODEM");
if (dwAddr & FILE_DEVICE_VDM)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_VDM");
if (dwAddr & FILE_DEVICE_MASS_STORAGE)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_MASS_STORAGE");
if (dwAddr & FILE_DEVICE_SMB)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_SMB");
if (dwAddr & FILE_DEVICE_KS)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_KS");
if (dwAddr & FILE_DEVICE_CHANGER)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_CHANGER");
if (dwAddr & FILE_DEVICE_SMARTCARD)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_SMARTCARD");
if (dwAddr & FILE_DEVICE_ACPI)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_ACPI");
if (dwAddr & FILE_DEVICE_DVD)
ShowDevPropertyInfo(hListView, 0L, "FILE_DEVICE_DVD");
if (dwAddr & FILE_DEVICE_FULLSCREEN_VIDEO)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_FULLSCREEN_VIDEO");
if (dwAddr & FILE_DEVICE_DFS_FILE_SYSTEM)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_DFS_FILE_SYSTEM");
if (dwAddr & FILE_DEVICE_DFS_VOLUME)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_DFS_VOLUME");
if (dwAddr & FILE_DEVICE_SERENUM)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_SERENUM");
if (dwAddr & FILE_DEVICE_TERMSRV)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_TERMSRV");
if (dwAddr & FILE_DEVICE_KSEC)
ShowDevPropertyInfo(hListView, 0L, "DEVICE_KSEC");
};
};
if (SetupDiGetDeviceRegistryProperty(hDevInfo,
&spDevInfoData,
SPDRP_DRIVER,
0L,
(PBYTE)szName,
63,
0))
{
ShowDevPropertyInfo(hListView, "Драйвер", szName);
};
if (SetupDiGetDeviceRegistryProperty(hDevInfo,
&spDevInfoData,
SPDRP_ENUMERATOR_NAME,
0L,
(PBYTE)szName,
63,
0))
{
ShowDevPropertyInfo(hListView, "Лічильник", szName);
};
if (SetupDiGetDeviceRegistryProperty(hDevInfo,
&spDevInfoData,
SPDRP_HARDWAREID,