NMOBJECTNOTIFY structure (commctrl.h)

Contains information used with the TBN_GETOBJECT, TCN_GETOBJECT, and PSN_GETOBJECT notification codes.

Syntax

typedef struct tagNMOBJECTNOTIFY {
  NMHDR      hdr;
  int        iItem;
#if ...
  const IID  *piid;
#else
  const void *piid;
#endif
  void       *pObject;
  HRESULT    hResult;
  DWORD      dwFlags;
} NMOBJECTNOTIFY, *LPNMOBJECTNOTIFY;

Members

hdr

Type: NMHDR

An NMHDR structure that contains additional information about this notification.

iItem

Type: int

A control-specific item identifier. This value will comply to item identification standards for the control sending the notification. However, this member is not used with the PSN_GETOBJECT notification code.

piid

Type: IID*

A pointer to an interface identifier of the requested object.

pObject

Type: IUnknown*

A pointer to an object provided by the window processing the notification code. The application processing the notification code sets this member.

hResult

Type: HRESULT

COM success or failure flags. The application processing the notification code sets this member.

dwFlags

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h