HChangeNotifyFlags (shell32)
Last changed: RussKie (russkie at gmail dot com)-168.140.181.4

.
Summary
Flags that indicate the meaning of the dwItem1 and dwItem2 parameters. The uFlags parameter must be one of the following values.

C# Signature:

    #region public enum HChangeNotifyFlags
    /// <summary>
    /// Flags that indicate the meaning of the <i>dwItem1</i> and <i>dwItem2</i> parameters.
    /// The uFlags parameter must be one of the following values.
    /// </summary>
    [Flags]
    public enum HChangeNotifyFlags
    {
        /// <summary>
        /// The <i>dwItem1</i> and <i>dwItem2</i> parameters are DWORD values.
        /// </summary>
        SHCNF_DWORD = 0x0003,
        /// <summary>
        /// <i>dwItem1</i> and <i>dwItem2</i> are the addresses of ITEMIDLIST structures that
        /// represent the item(s) affected by the change.
        /// Each ITEMIDLIST must be relative to the desktop folder.
        /// </summary>
        SHCNF_IDLIST = 0x0000,
        /// <summary>
        /// <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings of
        /// maximum length MAX_PATH that contain the full path names
        /// of the items affected by the change.
        /// </summary>
        SHCNF_PATHA = 0x0001,
        /// <summary>
        /// <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings of
        /// maximum length MAX_PATH that contain the full path names
        /// of the items affected by the change.
        /// </summary>
        SHCNF_PATHW = 0x0005,
        /// <summary>
        /// <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings that
        /// represent the friendly names of the printer(s) affected by the change.
        /// </summary>
        SHCNF_PRINTERA = 0x0002,
        /// <summary>
        /// <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings that
        /// represent the friendly names of the printer(s) affected by the change.
        /// </summary>
        SHCNF_PRINTERW = 0x0006,
        /// <summary>
        /// The function should not return until the notification
        /// has been delivered to all affected components.
        /// As this flag modifies other data-type flags, it cannot by used by itself.
        /// </summary>
        SHCNF_FLUSH = 0x1000,
        /// <summary>
        /// The function should begin delivering notifications to all affected components
        /// but should return as soon as the notification process has begun.
        /// As this flag modifies other data-type flags, it cannot by used by itself.
        /// </summary>
        SHCNF_FLUSHNOWAIT = 0x2000
    }
    #endregion // enum HChangeNotifyFlags

VB Signature:

    <Flags()> _
    Public Enum HChangeNotifyFlags
    ' <summary>
    ' The <i>dwItem1</i> and <i>dwItem2</i> parameters are DWORD values.
    ' </summary>
    SHCNF_DWORD = &H3
    ' <summary>
    ' <i>dwItem1</i> and <i>dwItem2</i> are the addresses of ITEMIDLIST structures that
    ' represent the item(s) affected by the change.
    ' Each ITEMIDLIST must be relative to the desktop folder.
    ' </summary>
    SHCNF_IDLIST = &H0
    ' <summary>
    ' <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings of
    ' maximum length MAX_PATH that contain the full path names
    ' of the items affected by the change.
    ' </summary>
    SHCNF_PATHA = &H1
    ' <summary>
    ' <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings of
    ' maximum length MAX_PATH that contain the full path names
    ' of the items affected by the change.
    ' </summary>
    SHCNF_PATHW = &H5
    ' <summary>
    ' <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings that
    ' represent the friendly names of the printer(s) affected by the change.
    ' </summary>
    SHCNF_PRINTERA = &H2
    ' <summary>
    ' <i>dwItem1</i> and <i>dwItem2</i> are the addresses of null-terminated strings that
    ' represent the friendly names of the printer(s) affected by the change.
    ' </summary>
    SHCNF_PRINTERW = &H6
    ' <summary>
    ' The function should not return until the notification
    ' has been delivered to all affected components.
    ' As this flag modifies other data-type flags it cannot by used by itself.
    ' </summary>
    SHCNF_FLUSH = &H1000
    ' <summary>
    ' The function should begin delivering notifications to all affected components
    ' but should return as soon as the notification process has begun.
    ' As this flag modifies other data-type flags it cannot by used by itself.
    ' </summary>
    SHCNF_FLUSHNOWAIT = &H2000
    End Enum

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes: See SHChangeNotify, HChangeNotifyEventID

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation