How do I create a Custom Event in C++?

What external symbol?