As developers of both the client and the server, we know that the interface pointers used by the client in the lesson's example are part of an instance of C++ class CMyComObject.
However, the client does not actually see this. Instead, it sees two COM interface pointers, one to IMyComInterface and one to IYourComInterface, and not a pointer to a specific C++ class.