Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kkent030315 committed May 15, 2021
1 parent f299c08 commit 492cab9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions anycall/helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ namespace helper
//
const void* module_base =
LoadLibraryEx(
module_name.data(), // file name
NULL, // file handle
DONT_RESOLVE_DLL_REFERENCES ); // flags
module_name.data(), // file name
NULL, // file handle
DONT_RESOLVE_DLL_REFERENCES ); // flags

if ( !module_base )
{
Expand Down Expand Up @@ -339,7 +339,8 @@ namespace helper
}

pNtQuerySystemInformation NtQuerySystemInformation =
( pNtQuerySystemInformation )GetProcAddress( module_handle, "NtQuerySystemInformation" );
( pNtQuerySystemInformation )
GetProcAddress( module_handle, "NtQuerySystemInformation" );

if ( !NtQuerySystemInformation )
{
Expand Down

0 comments on commit 492cab9

Please sign in to comment.