static void InitializeImageLists() { Shell32.FileIconInit(true); if (!Shell32.Shell_GetImageLists(out m_LargeImageList, out m_SmallImageList)) { throw new Exception("Failed to get system image list"); } } }