HBITMAP hRootImage;
hRootImage = LoadBitmapW(g_hThisInstance,
MAKEINTRESOURCEW(IDB_ROOT_IMAGE));
- if (hRootImage == NULL) return FALSE;
+ if (hRootImage == NULL)
+ return false;
// Add this bitmap to the device image list. This is a bit hacky, but it's safe
m_ClassImage = ImageList_Add(m_ImageListData->ImageList,
// The root name is the computer name
DWORD Size = DISPLAY_NAME_LEN;
- if (GetComputerNameW(m_DisplayName, &Size))
- _wcslwr(m_DisplayName);
+ GetComputerNameW(m_DisplayName, &Size);
return true;
-
-
}
\ No newline at end of file