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

Back to the index.


Last Modified: December 24, 1999
This page is copyright © 1999 Paul Kuliniewicz. Copyright Information

Go to Paul Kuliniewicz's Home Page.
E-mail: rogue953@hotmail.com
This page is at http://skyscraper.fortunecity.com/transmission/45/api/p/propenumprocex.html