Send Feedback

The SRCCUSTOMDRAW structure is used as an input parameter to the IPimSrcContactListIcon::Paint method. It contains Windows Mobile–based device context information, and information about the state of the PIM item being drawn.


typedef struct {
  HDC hdc;
  RECT rc;
  DWORD grfItemState;


  • hdc
    Device context for painting.
  • rc
    Bounding rectangle.
  • grfItemState
    The state of the item being drawn. See Drawing State Flags for a list of possible values.


The IPimSrcContactListIcon::Paint method enables a Source Provider to draw an alternate icon for a Contact item in the Contact list view


Pocket PC: Windows Mobile Version 5.0 and later
Smartphone: Windows Mobile Version 5.0 and later
OS Versions: Windows CE 5.01 and later
Header: pimstore.h
Library: pimstore.lib

See Also

Pocket Outlook Object Model API Structures | IPimSrcContactListIcon::Paint

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.