Click or drag to resize

Win32WindowSetProperty 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:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public bool SetProperty(
	string name,
	IntPtr dataHandle
)

Parameters

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