OFNOTIFY

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information about the WM_NOTIFY message sent to a hook procedure from an Explorer-style Open or Save As dialog box. The address of the OFNOTIFY structure is passed as the lParam parameter of the WM_NOTIFY message.

Syntax

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

Members

  • hdr
    NMHDR structure. The code member of the NMHDR structure is the message code indicating the CDN_TYPECHANGE message is sent.
  • lpOFN
    Long pointer to the OPENFILENAME structure that was specified when the Open or SaveAs dialog 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

Reference

CDN_TYPECHANGE
NMHDR
OPENFILENAME