◄COleServerItem► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation OLE Classes────────────────────────────────────────── protected: virtual OLESTATUS OnSetData( OLECLIPFORMAT <nFormat>, HANDLE <hData> ); Parameter Description <nFormat> Specifies the format of the data. This parameter can be one of the predefined Clipboard formats or the value returned by the native Windows RegisterClipboardFormat function. <hData> Identifies a global Windows memory object that contains the data in the specified format. Remarks This virtual callback function is called in response to COleClientItem::SetData. Override this function to process nonnative formats. The default implementation handles the native data format through a call to the virtual CObject::Serialize function, which is responsible for determining the storage format of the data. Return Value See the ◄COleException► class for a list of return values. The value OLE_OK indicates that the function operated correctly. See Also ◄COleClientItem::SetData► -♦-