Sets attributes for files on the development console.
public:
HRESULT SetFileAttributes(
LPCWSTR pszSearchPattern,
DWORD dwIncludeAttributes,
DWORD dwExcludeAttributes,
DWORD dwRecursionLevels,
DWORD dwAddAttributes,
DWORD dwRemoveAttributes,
IXtfFindFileCallback *pCallback
)
pszSearchPattern
Type: LPCWSTR
Pointer to the search pattern that defines the filenames of the files to set the attributes of.
dwIncludeAttributes
Type: DWORD
Bitwise-OR combination of file attributes to include for the operation.
dwExcludeAttributes
Type: DWORD
Bitwise-OR combination of file attributes to exclude from the operation.
dwRecursionLevels
Type: DWORD
Number of directory levels to recurse for the operation.
dwAddAttributes
Type: DWORD
Bitwise-OR combination of file attributes to add to the files.
dwRemoveAttributes
Type: DWORD
Bitwise-OR combination of file attributes to remove from the files.
pCallback
Type: IXtfFindFileCallback *
Pointer to the IXtfFindFileCallback callback to call when a file is found to set the attributes of.
Type: HRESULT
HRESULT success or error code.
Header: Declared in xtffileio.h.
Library: Use xtffileio.lib.