This commit is contained in:
DavidXanatos 2022-06-27 08:47:57 +02:00
parent 3c0030e3ff
commit a3a241374a
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- reworked hook management, now unloaded dll's are properly unhooked [#1243](https://github.com/sandboxie-plus/Sandboxie/issues/1243)
- box order is now stored in the plus ini
- improved dpi scaling behavioure

View File

@ -370,7 +370,7 @@ bool CSbieAPI::IsConnected() const
return m->SbieApiHandle != INVALID_HANDLE_VALUE;
}
bool CSbieAPI__IsWow64()
bool CSbieAPI::IsWow64()
{
static bool IsWow64 = false;
#ifndef _WIN64
@ -408,7 +408,7 @@ SB_STATUS CSbieAPI__ConnectPort(SSbieAPI* m)
//NtRegisterThreadTerminatePort(m->PortHandle);
m->SizeofPortMsg = sizeof(PORT_MESSAGE);
if (CSbieAPI__IsWow64())
if (CSbieAPI::IsWow64())
m->SizeofPortMsg += sizeof(ULONG) * 4;
m->MaxDataLen -= m->SizeofPortMsg;