FbwfGetVolumeList (Standard 7 SP1)
7/8/2014
This function retrieves the list of protected volumes for either the current or next session.
Syntax
ULONG FbwfGetVolumeList(
ULONG currentSession,
PVOID volumeList,
PULONG size
);
Parameters
- currentSession
[in] Boolean value. If true, the list of protected volumes in the current session is returned. Otherwise, the function returns the list of volumes to be protected in the next session.
- volumeList
[out] Caller allocated buffer receiving the volume list as a multi-string.
- size
[in, out] Size of the buffer pointed to by volumeList. If this buffer size is too small, the function fails and size will contain 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_PARAMETER |
If the volumeList or size parameter is NULL. |
ERROR_MORE_DATA |
If the volumeList buffer is too small, size will point to a ULONG that contains the required buffer size. |
Requirements
OS Versions: Standard 7
Header: Fbwfapi.h
Link Library: Fbwflib.lib
See Also
Reference
FbwfProtectVolume
FbwfUnprotectVolume
FbwfIsVolumeProtected