Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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