HANDLE GetProp(hWnd,lpString)
This function retrieves a data handle from the property list of the specified window. The character string pointed to by the lpString parameter identifies the handle to be retrieved. The string and handle are assumed to have been added to the property list by using the SetProp function.
Parameter | Type/Description |
hWnd | HWND Identifies the window whose property list is to be searched. | |
lpString | LPSTR Points to a null-terminated character string or an atom that identifies a string. If an atom is given, it must have been created previously by using the AddAtom function. The atom, a 16-bit value, must be placed in the low-order word of the lpString parameter; the high-order word must be set to zero. |
The return value identifies the associated data handle if the property list contains the
given string. Otherwise, it is NULL.
The value retrieved by the GetProp function can be any 16-bit value useful to the
application.