Compartir a través de


NMN_GETPROPERTYBAG (Windows CE 5.0)

Send Feedback

This notification message is sent to retrieve an IPersistPropertyBag interface pointer that will be used to initialize the new object.

The New button menu initializes new objects with data provided by the host application.

Syntax

NMN_GETPROPERTYBAG  wParam = (WPARAM) 0;  lParam = (PNMNEWMENU) pnmnm;

Parameters

  • wParam
    Reserved for future use; set to 0.
  • pnmnm
    Pointer to an NMNEWMENU structure.

Return Values

The return value is an interface pointer stored in pnmnm->pppropbag.

Remarks

When an application receives this notification, it should place a pointer to an IPersistPropertyBag interface into *(pnmnm->pppropbag) and call its AddRef method. The shell uses the properties in this property bag to initialize the new object and calls the interface's Release method to release the interface pointer when it is finished with the interface.

Requirements

Pocket PC: Pocket PC 2000 and later
OS Versions: Windows CE 3.0 and later
Header: newmenu.h

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.