static AutorunViewer() { string temp = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); if (temp.EndsWith("(x86)")) { rightProgramFiles = temp.Substring(0, temp.Length - 6); } else { rightProgramFiles = temp; } rightWinDir = Environment.GetFolderPath(Environment.SpecialFolder.Windows); rightSystemRoot = Environment.GetFolderPath(Environment.SpecialFolder.Windows) + "\\"; rightLocalAppData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData); emptyOptions = System.Windows.Media.Imaging.BitmapSizeOptions.FromEmptyOptions(); }
public static System.Windows.Media.Imaging.BitmapSource CreateBitmapSourceFromHIcon(IntPtr icon, System.Windows.Int32Rect sourceRect, System.Windows.Media.Imaging.BitmapSizeOptions sizeOptions) { return(default(System.Windows.Media.Imaging.BitmapSource)); }