CStockPropImpl::putref_Picture

 

Call this method to set the picture properties of a graphic (icon, bitmap, or metafile) to be displayed, with a reference count.

Syntax

      HRESULT STDMETHODCALLTYPE putref_Picture(
   IPictureDisp* pPicture 
);

Parameters

  • pPicture
    A pointer to the picture's properties. See IPictureDisp for more details.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

The same as CStockPropImpl::put_Picture, but with a reference count.

Requirements

Header: atlctl.h

See Also

CStockPropImpl Class
CStockPropImpl::put_Picture