Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


Signals the system that a predefined event occurred. If any client applications have registered a hook function for the event, the system calls the client's hook function.

void NotifyWinEvent(
   DWORD event,
   LONG idObjectType,
   LONG idObject



Specifies the event that occurred. This value must be one of the event constants.


Identifies the kind of object that generated the event. This value is one of the predefined object identifiers or a custom object ID value.


Identifies whether the event was generated by an object or a child element of the object. If this value is CHILDID_SELF, the event was generated by the object itself. If not, this value is the child ID of the element that generated the event.

This member function emulates the functionality of the function NotifyWinEvent, as described in the Platform SDK.

Community Additions

© 2015 Microsoft