Used for User32.SetWinEventHook See WinUser.h or here
public enum ObjectIdentifiers : int
An alert that is associated with a window or an application. System provided message boxes are the only UI elements that send events with this object identifier. Server applications cannot use the AccessibleObjectFromX functions with this object identifier. This is a known issue with Microsoft Active Accessibility.
The text insertion bar (caret) in the window.
The window's client area. In most cases, the operating system controls the frame elements and the client object contains all elements that are controlled by the application. Servers only process the WM_GETOBJECT messages in which the lParam is OBJID_CLIENT, OBJID_WINDOW, or a custom object identifier.
The mouse pointer. There is only one mouse pointer in the system, and it is not a child of any window.
The window's horizontal scroll bar.
The window's menu bar.
In response to this object identifier, third-party applications can expose their own object model. Third-party applications can return any COM interface in response to this object identifier.
An object identifier that Oleacc.dll uses internally. For more information, see Appendix F: Object Identifier Values for OBJID_QUERYCLASSNAMEIDX.
The window's size grip: an optional frame component located at the lower-right corner of the window frame.
A sound object. Sound objects do not have screen locations or children, but they do have name and state attributes. They are children of the application that is playing the sound.
The window's system menu.
The window's title bar.
The window's vertical scroll bar.
The window itself rather than a child object.