PropEnumProcEx Callback Function

Public Function PropEnumProcEx (ByVal hwnd As Long, ByVal lpszString As Long, ByVal hData As Long, ByVal dwData As Long) As Long
  ' application-defined code goes here
End Function

Description & Usage

The PropEnumProcEx callback function is used to process an enumerated window property gotten by the EnumPropsEx function. Each window property is passed one at a time to this callback function. This callback function receives not only the property's name but also a handle to its data (whatever the object happens to be). In your program, this function does not actually have to be called PropEnumProcEx -- that is merely the name used for it in discussions regarding the API.

Return Value

If the function returns 0, EnumPropsEx immediately terminates window property enumeration. If the function returns a non-zero value, EnumPropsEx will continute enumeration until the last property is found.

Visual Basic-Specific Issues

Like all callback functions, PropEnumProcEx must be Public and be declared inside a module.

Parameters

hwnd
A handle to the window whose properties are being enumerated.
lpszString
A pointer to a string specifying the name of the window property.
hData
A handle to the window property's data.
dwData
Additional data specified by EnumPropsEx.

Used By

EnumPropsEx

Go back to the Callback Function listing.
Go back to the Reference section index.


Last Modified: December 24, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail: vbapi@vbapi.com Send Encrypted E-Mail
This page is at http://www.vbapi.com/ref/p/propenumprocex.html