Partager via


EnumPropsEx (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

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

Header windows.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Window Properties Functions
PropEnumProcEx