iFlags

Flag that indicates the objects to process. Use 0 if hObject is not a container.

If hObject is a container, you can use 0 (process only hObject), or you can combine some of the values given below, using a bitwise OR. For example, ANNFLAG_SELECTED | ANNFLAG_RECURSE processes only the selected objects.

Value

Meaning

ANNFLAG_SELECTED

[0x0001] Enumerate only the selected objects.

ANNFLAG_NOTCONTAINER

[0x0002] Enumerate all objects that are not containers.

ANNFLAG_NOTTHIS

[0x0003] Enumerate all objects except hObject.

ANNFLAG_RECURSE

[0x0004] Enumerate all objects contained in hObject and any contained in any sub-containers.