Share via


UiaWindowClosedEventArgs Structure

Note  This structure is deprecated.

Contains information about an event that is raised when one or more windows closes.

Syntax

typedef struct {
    EventArgsType Type;
    int EventId;
    int *pRuntimeId;
    int cRuntimeIdLen;
} UiaWindowClosedEventArgs;

Members

  • Type
    A value from the EventArgsType enumerated type indicating the type of event.
  • EventId
    The event identifier. For a list of event identifiers, see Event Identifiers.
  • pRuntimeId
    The address of an array of the Microsoft UI Automation runtime identifiers of windows that have closed.
  • cRuntimeIdLen
    The count of elements in the array.

Remarks

This event is raised for any window (HWND) that closes, not just top-level windows.

Structure Information

Header uiautomationcoreapi.h
Minimum operating systems Windows XP