27 #ifndef SB_WINDOWS_STORAGE_DEVICE_UTILS_H_
28 #define SB_WINDOWS_STORAGE_DEVICE_UTILS_H_
50 #include <nsStringGlue.h>
69 (STORAGE_DEVICE_NUMBER* aStorageDevNum,
70 PRBool aMatchPartitionNumber,
72 nsTArray<DEVINST>& aDevInstList);
76 STORAGE_DEVICE_NUMBER* aStorageDevNum);
79 STORAGE_DEVICE_NUMBER* aStorageDevNum);
95 nsAString& aVolumeGUIDPath);
98 nsAString& aVolumeGUID);
101 nsTArray<nsString>& aPathNames);
104 nsTArray<nsString>& aPathNames);
107 nsACString& aVolumeLabel);
110 const nsACString& aVolumeLabel);
120 nsAString& aVendorID,
121 nsAString& aProductID);
124 #endif // SB_WINDOWS_STORAGE_DEVICE_UTILS_H_
nsresult sbWinGetVolumeLabel(const nsAString &aVolumeMountPath, nsACString &aVolumeLabel)
nsresult sbWinGetVolumeGUID(DEVINST aDevInst, nsAString &aVolumeGUID)
nsresult sbWinGetVolumePathNames(DEVINST aDevInst, nsTArray< nsString > &aPathNames)
nsresult sbWinFindDevicesByStorageDevNum(STORAGE_DEVICE_NUMBER *aStorageDevNum, PRBool aMatchPartitionNumber, const GUID *aGUID, nsTArray< DEVINST > &aDevInstList)
nsresult sbWinVolumeGetIsReadOnly(const nsAString &aVolumeMountPath, PRBool *aIsReadOnly)
nsresult sbWinSetVolumeLabel(const nsAString &aVolumeMountPath, const nsACString &aVolumeLabel)
nsresult sbWinGetSCSIProductInfo(DEVINST aDevInst, nsAString &aVendorID, nsAString &aProductID)
nsresult sbWinGetVolumeGUIDPath(DEVINST aDevInst, nsAString &aVolumeGUIDPath)
nsresult sbWinVolumeIsReady(DEVINST aDevInst, PRBool *aIsReady)
nsresult sbWinGetStorageDevNum(DEVINST aDevInst, const GUID *aGUID, STORAGE_DEVICE_NUMBER *aStorageDevNum)