Compartir a través de


CePimCommand (Windows CE 5.0)

Send Feedback

This function is called to create a menu add-in on the Tools menu in the Contacts, Calendar, or Tasks applications. The dynamic-link library (DLL) that supports the menu add-in must define and expose this function.

voidCePimCommand(  HWNDhWnd,  PIMTYPEptData,  UINT uDataCount,  HANDLE* rghData,  void pReserved);

Parameters

  • hWnd
    [in] Application window handle.

  • ptData
    [in] The application calling this function. The following code example shows the definition for this enumeration.

    typedef enum tagPIMTYPE
    {
      PT_CALENDAR = 0,
      PT_TASKS,
      PT_CONTACT
    } PIMTYPE;
    

    The following code example shows that, in the case of the Palm-sized PC 1.2, the constants are ordered differently.

    typedef enum tagPIMTYPE
    {
      PT_CONTACT = 0,
      PT_CALENDAR,
      PT_TASKS
    } PIMTYPE;
    
  • uDataCount
    [in] Number of items that are in the array rghData.

  • rghData
    [in] An array of Windows CE object identifiers for the currently selected items in the Pocket Outlook application. You can use the object identifiers to get the selected items with the GetItemFromOid method of the POOM Application object.

  • pReserved
    [in] A reserved parameter; currently NULL.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Pimstore.h.
Link Library: Pimstore.lib.

See Also

Pocket Outlook Object Model Functions | Pocket Outlook Object Model Reference | Pocket Outlook Object Model (POOM)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.