Update SbieAPI.cpp

This commit is contained in:
DavidXanatos 2024-05-11 22:14:20 +02:00
parent 5f6c6b2c29
commit 1a100dccbe
1 changed files with 1 additions and 1 deletions

View File

@ -2168,7 +2168,7 @@ SB_RESULT(QByteArray) CSbieAPI::RC4Crypt(const QByteArray& Data)
return SB_ERR(ERROR_SERVER_DISABLED); return SB_ERR(ERROR_SERVER_DISABLED);
if (rpl->h.status != 0) if (rpl->h.status != 0)
return SB_ERR(rpl->h.status); return SB_ERR(rpl->h.status);
return CSbieResult(QByteArray((char*)rpl->value, rpl->value_len)); return CSbieResult<QByteArray>(QByteArray((char*)rpl->value, rpl->value_len));
} }
bool CSbieAPI::GetDriverInfo(quint32 InfoClass, void* pBuffer, size_t Size) bool CSbieAPI::GetDriverInfo(quint32 InfoClass, void* pBuffer, size_t Size)