◄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). -♦-