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.
COleClientItem::SetData
COleClientItem                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  void SetData( OLECLIPFORMAT nFormat, HANDLE hData );
 
  Parameter   Description
 
  <nFormat>   Specifies the format in which data is returned. This
              parameter can be one of the predefined Clipboard formats or
              the value returned by the native Windows
              RegisterClipboardFormat function.
 
  <hData>     Identifies a global memory block, allocated with the Windows
              GlobalAlloc function, that contains the data in the format
              specified by the server.
 
  Remarks
 
  Sends data in the specified format to the server associated with a
  specified item.
 
  An exception is thrown if the server cannot accept data.
 
 
                                     -♦-