FbwfGetExclusionList (Standard 7 SP1)
7/8/2014
This function retrieves the list of files and directories in the File-Based Write Filter (FBWF) exclusion list.
Syntax
ULONG FbwfGetExclusionList(
LPCWSTR volume,
ULONG currentSession,
PVOID exclusionList,
PULONG size
);
Parameters
- volume
[in] Null-terminated wide string that contains the volume name.
- currentSession
[in] Boolean value. If true, the exclusion list for the current session will be retrieved. Otherwise, the exclusion list for the next session will be retrieved.
- exclusionList
[in] User allocated buffer which will receive the exclusion list as a multi-string.
- size
[in, out] Points to a ULONG that contains the size of exclusionList. If the function fails with ERROR_MORE_DATA, size points to a ULONG that contains the required buffer size in bytes.
Return Value
This function may return the following:
Return value |
Description |
---|---|
ERROR_SUCCESS |
The operation completed successfully. |
ERROR_INVALID_DRIVE |
The specified volume is valid, but does not exist or is not protected for the specified session. |
ERROR_INVALID_PARAMETER |
If the volume, exclusionList or size is NULL. |
ERROR_MORE_DATA |
If the exclusionList buffer is too small, size points to a ULONG that contains the required buffer size. |
Requirements
OS Versions: Standard 7
Header: Fbwfapi.h
Link Library: Fbwflib.lib
See Also
Reference
FbwfAddExclusion
FbwfRemoveExclusion