SetProp function user32
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.
BOOL SetPropW(
HWND hWnd,
LPCWSTR lpString,
HANDLE hData
);
Implementation
int SetProp(int hWnd, Pointer<Utf16> lpString, int hData) =>
_SetProp(hWnd, lpString, hData);