Compartilhar via


FbwfIsVolumeProtected

Retrieves the protected status for a specified volume in both the current and next sessions.

  ULONG FbwfIsVolumeProtected(
   PWCHAR 
  volume
  ,
   PULONG 
  currentSession
  ,
   PULONG 
  nextSession

  );

Parameters

  • volume
    [in] NULL terminated wide string containing the name of the volume to be queried.
  • currentSession
    [out] Boolean value, true if the volume is protected in the current session.
  • nextSession
    [out] Boolean value, true if the volume will be protected in the next session.

Return Values

This function may return the following:

Return value Description
NO_ERROR The operation completed successfully.
ERROR_INVALID_PARAMETER If the volume, currSession, or nextSession parameter is NULL.

Requirements

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

See Also

FBWF API | FbwfProtectVolume | FbwfUnprotectVolume | FbwfGetVolumeList

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.