FbwfIsVolumeProtected (Standard 7 SP1)
7/8/2014
This function retrieves the protected status for a specified volume in both the current and next sessions.
Syntax
ULONG FbwfIsVolumeProtected(
LPCWSTR volume,
PULONG currentSession,
PULONG nextSession
);
Parameters
- volume
[in] Null-terminated wide string that contains 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 Value
This function may return the following:
Return value |
Description |
---|---|
ERROR_SUCCESS |
The operation completed successfully. |
ERROR_INVALID_PARAMETER |
If the volume, currSession, or nextSession parameter is NULL. |
Requirements
OS Versions: Standard 7
Header: Fbwfapi.h
Link Library: Fbwflib.lib
See Also
Reference
FbwfProtectVolume
FbwfUnprotectVolume
FbwfGetVolumeList