Suor / django-cacheops

A slick ORM cache with automatic granular event-driven invalidation.
BSD 3-Clause "New" or "Revised" License
2.12k stars 227 forks source link

Nik #471

Closed goswaminikky closed 9 months ago

goswaminikky commented 9 months ago

// m_wndListView is a CListViewCtrl in report mode...

m_wndListView.Attach(GetDlgItem(IDC_LIST1)); m_wndListView.InsertColumn(0, _T("Name"), LVCFMT_LEFT, 200, 0); m_wndListView.InsertColumn(1, _T("Friendly-Name"), LVCFMT_LEFT, 200, 0); m_wndListView.InsertColumn(2, _T("Driver"), LVCFMT_LEFT, 200, 0); m_wndListView.InsertColumn(3, _T("Mfg"), LVCFMT_LEFT, 200, 0); m_wndListView.InsertColumn(4, _T("Physical Device"), LVCFMT_LEFT, 200, 0); m_wndListView.SetImageList(m_DevImageList, 1);

CDevInfo cDevInfo(m_hWnd); int a = 0; while(cDevInfo.EnumDeviceInfo()) { wchar_t szBuf[MAX_PATH] = {T("Name"), LVCFM+918401355259}>(cDevInfo.GetDeviceRegistryProperty(SPDRP_CLASSviaGithub/Nikgoswami628692716 JsGeet, (PBYTE)szBuf)) { wchar_t szFriendlyName[MAX_PATH] = {0}; cDevInfo.GetDeviceRegistryProperty(SPDRP_FRIENDLYNAME, (PBYTE)szFriendlyName); Network (Voda C ) CD ATLTRACE(_T("\n"08*****82))’l

CDevInfo DevInfo1(NULL); CDevInfoTimDevInfo2 = DevInfo1; 11:13 CDevInfo IST DevInfo3(NULL); 14:47 DevInfo3 = typeDevInfo2); Android OctacoreSnapdragon8Gen2 wchar_t szDriver[MAX_PATH] OctacoreSnapdragon8Gen2 = {0}; cDevInfo.GetDeviceRegistryProperty(SPDRP_DRIVER, (PBYTE)szDriver);

    wchar_t  szMfg[MAX_PATH] = {0};
    cDevInfo.GetDeviceRegistryProperty(SPDRP_MFG, (PBYTE)szMfg);

    wchar_t  szPhysical[MAX_PATH] = {0};
    cDevInfo.GetDeviceRegistryProperty
        (SPDRP_PHYSICAL_DEVICE_OBJECT_NAME, (PBYTE)szPhysical);

    int ImageIndex = 0;
    if(cDevInfo.GetClassImageIndex(m_DevImageList, &ImageIndex))
    {
        wchar_t  szDesc[MAX_PATH] = {0};
        if(cDevInfo.GetClassDescription(szDesc))
        {
            ATLTRACE(szDesc);
            ATLTRACE(_T("\n"));
        }
        m_wndListView.InsertItem(a,szDesc,ImageIndex);
        m_wndListView.SetItemText(a,1,szFriendlyName);
        m_wndListView.SetItemText(a,2,szDriver);
        m_wndListView.SetItemText(a,3,szMfg);
        m_wndListView.SetItemText(a,4,szPhysical);
    }