CDM_SETDEFEXT (Windows CE 5.0)

Send Feedback

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

CDM_SETDEFEXTwParam = 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 Values

None.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

GetOpenFileName | GetSaveFileName | OPENFILENAME

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.