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:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax 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:
Booleantrue if the call succeeded,
false otherwise.
See Also