IsCBFSVolume Method
Checks whether the specified volume is powered by CBFS.
Syntax
ANSI (Cross Platform) int IsCBFSVolume(const char* lpszVolumePath); Unicode (Windows) INT IsCBFSVolume(LPCWSTR lpszVolumePath);
#define MID_CBFS_ISCBFSVOLUME 25 CBFSCONNECT_EXTERNAL int CBFSCONNECT_CALL CBFSConnect_CBFS_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
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.