Click here to Skip to main content
15,884,388 members
Articles / Desktop Programming / Win32

.NET Shell Extensions - Shell Preview Handlers

Rate me:
Please Sign up or sign in to vote.
4.93/5 (23 votes)
20 May 2014MIT8 min read 140.3K   6.1K   71  
Quickly create Shell Preview Handlers for Windows or Outlook using .NET!
namespace SharpShell.Interop
{
    /// <summary>
    /// Action flag.
    /// </summary>
    public enum PSPCB : uint
    {
        /// <summary>
        /// Version 5.80 or later. A page is being created. The return value is not used.
        /// </summary>
        PSPCB_ADDREF = 0,

        /// <summary>
        /// A page is being destroyed. The return value is ignored.
        /// </summary>
        PSPCB_RELEASE = 1,

        /// <summary>
        /// A dialog box for a page is being created. Return nonzero to allow it to be created, or zero to prevent it.
        /// </summary>
        PSPCB_CREATE = 2
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Software Developer
United Kingdom United Kingdom
Follow my blog at www.dwmkerr.com and find out about my charity at www.childrenshomesnepal.org.

Comments and Discussions