Partager via


EnumPropsEx

This function enumerates all of the entries in the property list of a window by passing the entries, one by one, to a specified callback function. EnumPropsEx continues until either EnumPropsEx enumerates the last entry in the property list or the callback function returns FALSE.

int EnumPropsEx(
  HWND hWnd,
  PROPENUMPROCEX lpEnumFunc,
  LPARAM lParam
);

Parameters

  • hWnd
    [in] Handle to the window for which you want to enumerate properties.
  • lpEnumFunc
    [in] Pointer to an application-defined callback function to which EnumPropsEx should pass the entries from the property list. For more information about this callback function, see the PropEnumProcEx function.
  • lParam
    [in] LPARAM that contains application-defined data that EnumPropsEx should pass to the callback function.

Return Values

The last value returned by the callback function indicates success. -1 indicates that the EnumPropsEx did not find a property for enumeration.

Remarks

The application should not remove properties that other applications or the operating system (OS) added.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Windows.h.
Link Library: Coredll.lib.

See Also

PropEnumProcEx

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.