Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COleServerDoc::Register
COleServerDoc                               Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  BOOL Register( COleServer* pServer, const char FAR* lpszDoc );
 
  Parameter   Description
 
  <pServer>   A pointer to an OLE server that is already registered.
 
  <lpszDoc>   A null-terminated string that specifies the fully qualified
              name of the server document.
 
  Remarks
 
  Call this function if the server document was opened by the user (for
  example, the Open command on the File menu). Do not call it if the
  server document was created in one of the COleServer callbacks
  (OnCreateDocFromTemplate, OnOpenDoc, OnEditDoc, OnCreateDoc).
 
 
                                     -♦-