Click or drag to resize

WindowsUtilitiesSetProp Method

Adds a new entry or changes an existing entry in the property list of the specified window. The function adds a new entry to the list if the specified character string does not exist already in the list. The new entry contains the string and the handle. Otherwise, the function replaces the string's current handle with the specified handle.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool SetProp(
	IntPtr handle,
	string name,
	IntPtr dataHandle
)

Parameters

handle
Type: SystemIntPtr
A handle to the window whose property list receives the new entry.
name
Type: SystemString
The property name.
dataHandle
Type: SystemIntPtr
A handle to the data to be copied to the property list. The data handle can identify any value useful to the application.

Return Value

Type: Boolean
true if the call succeeded, false otherwise.
See Also