Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains information about the WM_NOTIFY message sent to a hook procedure from an Explorer-style Openor Save Asdialog box. The address of the OFNOTIFYstructure is passed as the lParamparameter of the WM_NOTIFY message.

Syntax

typedef struct _OFNOTIFY { 
  NMHDR 
hdr; 
  LPOPENFILENAME 
lpOFN; 
  LPTSTR 
pszFile; 
} OFNOTIFY, FAR* LPOFNOTIFY; 

Members

hdr

NMHDRstructure. The codemember of the NMHDRstructure is the message code indicating the CDN_TYPECHANGEmessage is sent.

lpOFN

Long pointer to the OPENFILENAMEstructure that was specified when the Openor SaveAsdialog box was created. For some of the messages, this structure contains additional information about the event that caused the notification.

pszFile

Pointer to the null-terminated string that contains the file name for which a network sharing violation has occurred. This member is valid only with the CDN_SHAREVIOLATION message.

Requirements

Header commdlg.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also