Compartilhar via


FbwfGetExclusionList

Retrieves the list of files and directories in the FBWF exclusion list.

  ULONG FbwfGetExclusionList(
   PWCHAR 
  volume
  ,
   ULONG 
  currentSession
  ,
   PVOID 
  exclusionList
  ,
   PULONG 
  size

  );

Parameters

  • volume
    [in] NULL terminated wide string containing 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 containing the size of exclusionList. If the function fails with ERROR_MORE_DATA, size will point to a ULONG containing the required buffer size.

Return Values

This function may return the following:

Return value Description
NO_ERROR 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, in which case size will point to a ULONG containing the required buffer size.

Requirements

OS Versions: Windows XP Embedded.
Header: fbwfapi.h.
Link Library: fbwflib.lib.

See Also

FBWF API | FbwfAddExclusion | FbwfRemoveExclusion

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.