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] Process only the selected objects.

ANNFLAG_NOTCONTAINER

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

ANNFLAG_NOTTHIS

[0x0003] Process all objects except hObject.

ANNFLAG_RECURSE

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

ANNFLAG_USER

[0x0040] Process only those objects with users listed in pszUserList.