Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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. EnumPropsExcontinues until either EnumPropsExenumerates 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 EnumPropsExshould pass the entries from the property list. For more information about this callback function, see the PropEnumProcExfunction.

lParam

[in] LPARAMthat contains application-defined data that EnumPropsExshould pass to the callback function.

Return Value

The last value returned by the callback function indicates success. -1 indicates that the EnumPropsExdid 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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

PropEnumProcEx