IFolderView2::SetCurrentFolderFlags method (shobjidl_core.h)
Sets and applies specified folder flags.
Syntax
HRESULT SetCurrentFolderFlags(
[in] DWORD dwMask,
[in] DWORD dwFlags
);
Parameters
[in] dwMask
Type: DWORD
The value of type DWORD that specifies the bitmask indicating which items in the structure are desired or valid.
[in] dwFlags
Type: DWORD
The value of type DWORD that contains one or more FOLDERFLAGS.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For Windows 7 or later: This method must be used in combination with the FVO_CUSTOMPOSITION flag from the FOLDERVIEWOPTIONS enumeration.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για