Share via


IVoIPDisplayItem::Draw (Windows Embedded CE 6.0)

1/6/2010

This method draws the item into the specified rectangle with the specified Device Context (hDC).

Syntax

HRESULT  Draw(
    HDC hdc,                        
    RECT* pRectangle,    
    BOOL IsSelected,                
    BOOL IsTopItem = FALSE          
);

Parameters

  • hdc
    [in] Device context to draw into.
  • pRectangle
    [in] Rectangle to draw into. There is no client RECT associated with the item.
  • IsSelected
    [in] Flag indicating whether this item is selected or not.
  • IsTopItem
    [in] Flag indicating whether this item is the top item. The default is FALSE.

Return Value

This method, as part of the base class, always returns either S_FALSE or E_NOTIMPL. It is optionally implemented by any classes that derive from the IVoIPDisplayItem interface.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

Requirements

Header displayitem.hpp
Library PhCommon.dll
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

IVoIPDisplayItem
PhCommon Reference