mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetics
This commit is contained in:
parent
3cb8f4bf94
commit
b07d9131ef
@ -50,7 +50,7 @@ struct BinData
|
||||
unsigned int __stdcall QueryRecycleBinThreadProc(void* pParam);
|
||||
HRESULT GetFolderCLSID(LPCWSTR pszPath, CLSID* pathCLSID);
|
||||
LPWSTR GetCurrentUserSid();
|
||||
CRawString GetRecycleBinHandle(WCHAR drive, bool& isFAT);
|
||||
CRawString GetRecycleBinDirectory(WCHAR drive, bool& isFAT);
|
||||
|
||||
std::vector<BinData> g_BinData;
|
||||
double g_BinCount = 0;
|
||||
@ -213,7 +213,7 @@ PLUGIN_EXPORT double Update(void* data)
|
||||
drive[0] = buffer[i];
|
||||
if (GetDriveType(drive) == DRIVE_FIXED)
|
||||
{
|
||||
data.directory = GetRecycleBinHandle(buffer[i], data.isFAT);
|
||||
data.directory = GetRecycleBinDirectory(buffer[i], data.isFAT);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -322,7 +322,7 @@ LPWSTR GetCurrentUserSid()
|
||||
return sidStr;
|
||||
}
|
||||
|
||||
CRawString GetRecycleBinHandle(WCHAR drive, bool& isFAT)
|
||||
CRawString GetRecycleBinDirectory(WCHAR drive, bool& isFAT)
|
||||
{
|
||||
WCHAR search[] = L"\0:\\";
|
||||
search[0] = drive;
|
||||
|
Loading…
Reference in New Issue
Block a user