◄COleClientDoc► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation OLE Classes────────────────────────────────────────── BOOL Register( const char FAR* lpszClass, const char FAR* lpszDoc ); Parameter Description <lpszClass> A null-terminated string that specifes the name of the client document's class, usually the client application name. <lpszDoc> A null-terminated string that specifies the name of the client document. This must be a unique name such as the fully qualified name of the document's disk file. Remarks After you construct the C++ object, you must call this function to register your client document. If the client application needs to copy native-format data to the Clipboard, that data contains objects, and there is no disk file involved, then <lpszDoc> must be "Clipboard." Return Value TRUE if the document was successfully registered with OLECLI.DLL; otherwise FALSE. See Also ◄COleClientDoc::COleClientDoc► -♦-