Share via


CDM_SETDEFEXT (Windows Embedded CE 6.0)

1/6/2010

This message sets the default filename extension for an Explorer-style Open or Save As common dialog box. The dialog box must have been created with the OFN_EXPLORER flag; otherwise, the message fails.

Syntax

CDM_SETDEFEXT wParam = 0; 
    lParam = (LPARAM) (LPSTR) pszext;

Parameters

  • wParam
    Not used.
  • pszext
    Pointer to the null-terminated string that contains the new file name extension. Must not include a period (.).

Return Value

None.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Common Dialog Boxes Messages
GetOpenFileName
GetSaveFileName
OPENFILENAME