Partager via


NMN_GETPROPERTYBAG (Windows Embedded CE 6.0)

1/6/2010

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.

Return Value

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

Header newmenu.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

AYGShell Messages