We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MasterHide/MasterHide/tools.cpp
Line 32 in 3e79de1
Line 66 in 3e79de1
More better:
wchar_t lpModuleName[ MAX_PATH ]; status = ZwQueryVirtualMemory( NtCurrentProcess(), PsGetProcessSectionBaseAddress( Process ), static_cast<MEMORY_INFORMATION_CLASS>(2), lpModuleName, sizeof( lpModuleName ), nullptr ); if ( NT_SUCCESS( status ) ) { const auto unModuleNameSize = wcslen(lpModuleName); if (unModuleNameSize > 0 ) { AllocateUnicodeString( ProcessImageName, static_cast<USHORT>(unModuleNameSize)); wcscpy_s( ProcessImageName->Buffer, unModuleNameSize, lpModuleName ); bReturn = true; } }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
MasterHide/MasterHide/tools.cpp
Line 32 in 3e79de1
MasterHide/MasterHide/tools.cpp
Line 66 in 3e79de1
More better:
The text was updated successfully, but these errors were encountered: