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.
COleServerItem::OnEnumFormats
COleServerItem                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual OLECLIPFORMAT
               OnEnumFormats( OLECLIPFORMAT <nFormat> ) const;
 
  Parameter   Description
 
  <nFormat>   Specifies the format returned by the previous call to the
              OnEnumFormats member function. For the first call to this
              function, this parameter is NULL. This parameter can be one
              of the predefined Clipboard formats or the value returned by
              the native Windows RegisterClipboardFormat function.
 
  Remarks
 
  This function is called repeatedly to enumerate the Clipboard formats
  that are supported by this server. The default function handles native,
  metafile, and text formats, but it does not handle bitmaps.
 
  Override this function if your server item supports more formats.
 
  Return Value
 
  The next (or first) available format; NULL if no more formats are
  available.
 
  See Also
 
  COleClientItem::EnumFormats
 
 
                                     -♦-