add preview handler

This commit is contained in:
2021-12-28 16:53:45 +08:00
parent 0f48dbe845
commit c03de86d02
14 changed files with 1613 additions and 91 deletions

View File

@ -1,4 +1,5 @@
using System.Drawing;
#if THUMBNAIL
using System.Drawing;
using System.IO;
namespace ShellExtensions
@ -52,3 +53,4 @@ namespace ShellExtensions
Bitmap ConstructBitmap(FileInfo info, int sideSize);
}
}
#endif

View File

@ -1,4 +1,5 @@
using Microsoft.Win32;
#if THUMBNAIL
using Microsoft.Win32;
using ShellExtensions.Interop;
using ShellExtensions.Interop.Common;
using ShellExtensions.Resources;
@ -280,3 +281,4 @@ namespace ShellExtensions
#endregion
}
}
#endif

View File

@ -1,8 +1,9 @@
using System;
#if THUMBNAIL
using System;
namespace ShellExtensions
{
/// <summary>
/// <summary>
/// This class attribute is applied to a Thumbnail Provider to specify registration parameters
/// and aesthetic attributes.
/// </summary>
@ -134,3 +135,4 @@ namespace ShellExtensions
VideoSprockets = 3
}
}
#endif