OFNOTIFYEXA structure (commdlg.h)

Contains information about a CDN_INCLUDEITEM notification message.

Syntax

typedef struct _OFNOTIFYEXA {
  NMHDR           hdr;
  LPOPENFILENAMEA lpOFN;
  LPVOID          psf;
  LPVOID          pidl;
} OFNOTIFYEXA, *LPOFNOTIFYEXA;

Members

hdr

Type: NMHDR

The code member of this structure identifies the notification message being sent.

lpOFN

Type: LPOPENFILENAME

A pointer to an OPENFILENAME structure containing the values specified when the Open or Save As dialog box was created.

psf

Type: LPVOID

A pointer to the interface for the folder or shell name-space extension whose items are being enumerated.

pidl

Type: LPVOID

A pointer to an item identifier list that identifies an item in the container identified by the psf member. The item identifier is relative to the psf container.

Remarks

Note

The commdlg.h header defines OFNOTIFYEX as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header commdlg.h (include Windows.h)

See also

CDN_INCLUDEITEM

Common Dialog Box Library

Conceptual

OFNHookProc

OFNOTIFY

OPENFILENAME

Reference