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, ANN_FLAG_SELECTED | ANN_FLAG_RECURSE processes only the selected objects.

Value

Meaning

ANN_FLAG_SELECTED

[0x0001] Enumerate only the selected objects.

ANN_FLAG_NOTCONTAINER

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

ANN_FLAG_NOTTHIS

[0x0003] Enumerate all objects except hObject.

ANN_FLAG_RECURSE

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