Connect with the RegisterShellFileTypes member function in conjunction with this function, or provide a .REG file using your application for manual registration of document varieties. The default implementation checks whether the command is a request to open a doc and, If that's so, opens the required doc. The default implementation https://cwin.academy/