IsCBFSVolume Method

Checks whether the specified volume is powered by CBFS.


int IsCBFSVolume(const char* lpszVolumePath);
INT IsCBFSVolume(LPCWSTR lpszVolumePath);


This method checks to see whether the volume specified by VolumePath is powered by CBFS; if it is, this method returns true.

Valid formats for VolumePath include:

  • Drive letters, like X:.
  • Volume GUIDs, like Volume{676D0357-A23A-49C3-B433-65AAD72DD282}.

Error Handling (C++)

This method returns a Boolean value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.

Copyright (c) 2020 Callback Technologies, Inc. - All rights reserved.
CBFS Connect 2020 C++ Edition - Version 20.0 [Build 7545]