I discovered today that Windows 7 comes with a very impressive MathPanel utility for performing handwriting recognition:

This is normal. (Here I introduced the formula for the gamma conversion part of the sRGB color space)
But now I seem to be unable to do anything about it.
There is an Insert button. I would suggest that clicking Paste will paste it into the active application behind it (just like the on-screen keyboard works):

In addition, I assume that it will work as an Insert operation.
I can not find any information in the help system about what the application requires for its operation. There is no mention of any special APIs that some programs must support.
Also I can not find any information about MSDN about what special API is required to accept the insertion of the equation.
What API, registration, callback, listener, message, COM object do I need to implement so that I get the MathPanel input?
The only reason I mention MathML is the answer to SuperUser mentioned by MathML :
Theoretically, any application that supports MathML (a mathematical markup language) can be used with the Math Windows 7 input panel. The Math input panel only works with programs that support MathML. Here are a few of these applications: StarOffice, OpenOffice, Opera, and Maple.
Well, how do I make support for my MathML program?
As far as I know, MathML is a markup language; not the Windows API. It would be like saying: "How do I make HTML support for my program?" Html is text and you can paste it anywhere.
MathPad refuses to embed if I do not support MathML?
Update
Checking IDataObject in the clipboard after clicking Paste , I see two available formats (none of them are text, which explains why I am not getting markup):
Format 1:
CLIPFORMAT cfFormat: "MathML Presentation" (49839) PDVTargetDevice ptd: 0x00000000 DWORD dwAspect: DVASPECT_CONTENT DWORD lindex: -1 DWORD tymed: 1 (TYMED_HGLOBAL)
Format 2:
CLIPFORMAT cfFormat:"MathML" (49838) PDVTargetDevice ptd: 0x00000000 DWORD dwAspect: DVASPECT_CONTENT DWORD lindex: -1 DWORD tymed: 1 (TYMED_HGLOBAL)
So, at least now I have some clipboard formats:
- "MathML Presentation"
- "MathML"
I still cannot find anything on MSDN about any clipboard format.