Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
COleServerItem::OnSetTargetDevice
COleServerItem                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual OLESTATUS OnSetTargetDevice( LPVOID <lpTargetDevice> );
 
  Parameter        Description
 
  <lpTargetDevice> Identifies a native OLE StdTargetDevice memory
                   structure that describes the target device for the
                   item.
 
  Remarks
 
  Override this function to process a request from the client to change
  the target device. OnSetTargetDevice is called in response to the
  COleClientItem::SetTargetDevice member function.
 
  The default implementation ignores the request.
 
  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::SetTargetDevice
 
 
                                     -♦-