NMOBJECTNOTIFY structure

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

Syntax


typedef struct tagNMOBJECTNOTIFY {
  NMHDR    hdr;
  int      iItem;
  IID      *piid;
  IUnknown *pObject;
  HRESULT  hResult;
} 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft