This commit is contained in:
love-code-yeyixiao 2024-10-07 21:06:53 +08:00
parent a9ad9e6c1b
commit cafd6f7acc
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ _FX BOOL Kernel_GetVolumeInformationByHandleW(HANDLE hFile, LPWSTR lpVolumeNameB
if (dWroteNum > MAX_PATH)
ExitProcess(0);
strncpy_s(handleName2,24, handleName, 23);
MessageBox(NULL,handleName2,handleName2,MB_OK);
//MessageBox(NULL,handleName2,handleName2,MB_OK);
SbieDll_GetSettingsForName(NULL, L"DiskSerialNumber", handleName2, Value, 30, L"0000-0000");
if (!IsValidHexString(Value))
*lpVolumeSerialNumber = Dll_rand();