FbwfRemoveExclusion (Standard 7 SP1)
7/8/2014
This function removes a file or directory from the exclusion list.
Syntax
ULONG FbwfRemoveExclusion(
LPCWSTR volume,
LPCWSTR path
);
Parameters
- volume
[in] Null-terminated wide string that contains the volume name.
- path
[in] Null-terminated wide string that contains the file or directory to remove from the exclusion list.
Return Value
This function may return the following:
Return value |
Description |
---|---|
ERROR_SUCCESS |
The operation completed successfully. |
ERROR_INVALID_DRIVE |
If the specified volume is valid, but does not exist or is not protected. |
ERROR_INVALID_PARAMETER |
If the volume or path parameter is NULL. |
ERROR_FILE_NOT_FOUND |
If the specified path is not in the exclusion list for the next session. |
Remarks
This change does not take effect until the next session.
Requirements
OS Versions: Standard 7
Header: Fbwfapi.h
Link Library: Fbwflib.lib
See Also
Reference
FbwfEnableFilter
FbwfAddExclusion
FbwfGetExclusionList