IRichEditOleCallback::GetNewStorage

Provides storage for a new object pasted from the clipboard or read in from an RTF stream.

HRESULT GetNewStorage(
  LPSTORAGE FAR *lplpstg  
);
 

Parameters

lplpstg
Address to the pointer variable that receives the address of the IStorage interface created for the new object.

Return Values

Returns success status.

This method must be implemented to allow cut/copy/paste and drag and drop of OLE objects.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richole.h.

See Also

Rich Edit Controls Overview, Rich Edit OLE Interfaces, IRichEditOleCallback, IStorage