mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add missing function pointer checks.
This commit is contained in:
parent
e60b2884f4
commit
d209bb4d01
@ -225,7 +225,7 @@ void SysTraceSendExternalName( uint64_t thread )
|
||||
}
|
||||
#endif
|
||||
const auto pid = GetProcessIdOfThread( hnd );
|
||||
if( !threadSent && NtQueryInformationThread && _EnumProcessModules )
|
||||
if( !threadSent && NtQueryInformationThread && _EnumProcessModules && _GetModuleInformation && _GetModuleBaseNameA )
|
||||
{
|
||||
void* ptr;
|
||||
ULONG retlen;
|
||||
|
Loading…
Reference in New Issue
Block a user