That's exactly what he is referring to. In Windows, you'd either have something documenting that API (to add it in the context menu, not under Quick Actions), or if it is undocumented, you'd still have an idea where to look for it. There would be some sort of API, you'd LoadLibrary, find the symbol, call it with some arguments. Even undocumented, you can kind of rely that it will be there later in some shape or form.
In MacOS, it is really convoluted. Do I dynamically load some bundle? What bundle? Likely they'll put it somewhere else sometime soon.
Of course in principle, there is some API but the way that Apple treats them is very different.
For example, I want to get how many fingers are touching the trackpad right now and the current position of these touches. There are all sorts of things like PinchControllers that need to be initialized and they emit events etc., but nothing to give you the current state of affairs or exactly what you want.