Click or drag to resize

ShellUtilitiesChangeNotifyRegister Method

Registers a window to receive notifications from the file system or Shell, if the file system supports notifications.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static uint ChangeNotifyRegister(
	IntPtr hwnd,
	SHCNE events,
	int message,
	IEnumerable<ChangeNotifyEntry> entries,
	SHCNRF flags = SHCNRF.SHCNRF_InterruptLevel|SHCNRF.SHCNRF_ShellLevel
)

Parameters

hwnd
Type: SystemIntPtr
A handle to the window that receives the change or notification messages.
events
Type: callback.ShellBoost.Core.WindowsShellSHCNE
A combination of values that indicate the type of events for which to receive notifications.
message
Type: SystemInt32
Message to be posted to the window procedure.
entries
Type: System.Collections.GenericIEnumerableChangeNotifyEntry
A list of ChangeNotifyEntry structures that contain the notifications.
flags (Optional)
Type: callback.ShellBoost.Core.WindowsShellSHCNRF
Flags that indicate the type of events for which to receive notifications. Note SHCNRF_NewDelivery is always set implicitly.

Return Value

Type: UInt32
A positive integer registration ID. 0 if an error occurred.
See Also