EnumPropsEx

  int EnumPropsEx(hwnd, lpEnumFunc, lParam)    
  HWND hwnd;    
  PROPENUMPROC lpEnumFunc;    
  LPARAM lParam;    

This function enumerates all entries in the property list of the specified window. It enumerates the entries by passing them, one by one, to the callback function specified by lpEnumFunc. EnumPropsEx continues until the last entry is enumerated or the callback function returns zero.

Parameters

hwnd

Identifies the window whose property list is to be enumerated.

lpEnumFunc

Specifies the procedure-instance address of the callback function. more information, see the description of the EnumPropProc callback function.

lParam

User-specified data to be passed to the callback function.

Return Value

The return value specifies the last value returned by the callback function. It is -1 if the function did not find a property for enumeration.

Comments

An application can remove only those properties which it has added. It should not remove properties added by other applications or by Windows itself.

See Also

EnumProps, GetProp, RemoveProp, SetProp