共用方式為


VSSAVEFILENAMEW Struct

Definition

Contains file name and option information needed by the Common Item Dialog, which is used to open or save files.

public value class VSSAVEFILENAMEW
struct VSSAVEFILENAMEW
[System.Runtime.InteropServices.ComConversionLoss]
public struct VSSAVEFILENAMEW
[<System.Runtime.InteropServices.ComConversionLoss>]
type VSSAVEFILENAMEW = struct
Public Structure VSSAVEFILENAMEW
Inheritance
VSSAVEFILENAMEW
Attributes

Remarks

This structure is similar to the OPENFILENAME structure.

Fields

dwFlags

DWORD specifying standard OFN_ flags, which are used by the OPENFILENAME structure.

dwHelpTopic

DWORD specifying the help topic.

hwndOwner

HWND specifying the handle of the owning window.

lStructSize

DWORD holding the size of this VSSAVEFILENAMEW.

nFileExtension

DWORD indicating the file extension.

nFileOffset

DWORD indicating the file offset.

nFilterIndex

DWORD indicating the filter index.

nMaxFileName

DWORD indicating the maximum number of characters in the file name.

pSaveOpts

Pointer to an IVsSaveOptionsDlg instance. This interface shows a dialog box from which to choose additional save format options.

pwzDlgTitle

Pointer to a string containing the Save Options dialog box title.

pwzFileName

Pointer to a string containing the file name.

pwzFilter

Pointer to a string containing the file name filter.

pwzInitialDir

Pointer to a string containing the initial directory.

Applies to