Writing Folder Flags

To write folder flags on a folder, as specified in section 2.2.7, the client MUST obtain a handle to the folder using the RopOpenFolder ROP ([MS-OXCROPS] section, as specified in [MS-OXCFOLD] section The client MUST then format the binary data as specified in section 2.2.7. The client MUST then write the data for the folder flags by sending the RopSetProperties ROP ([MS-OXCROPS] section with the PidTagExtendedFolderFlags property ([MS-OXOSRCH] section and the value in the PropertyValues field of the RopSetProperties ROP request buffer ([MS-OXCROPS] section In each case where the client needs to write a new value of one of the subproperties to the folder, it MUST preserve the values of any other unmodified subproperties on the folder, as specified in section 2.2.7.