GetNativeSystemInfo function Null safety kernel32
- Pointer<
SYSTEM_INFO> lpSystemInfo
Retrieves information about the current system to an application running under WOW64. If the function is called from a 64-bit application, or on a 64-bit system that does not have an Intel64 or x64 processor (such as ARM64), it is equivalent to the GetSystemInfo function.
void GetNativeSystemInfo(
LPSYSTEM_INFO lpSystemInfo
);
Implementation
void GetNativeSystemInfo(Pointer<SYSTEM_INFO> lpSystemInfo) {
final _GetNativeSystemInfo = _kernel32.lookupFunction<
Void Function(Pointer<SYSTEM_INFO> lpSystemInfo),
void Function(Pointer<SYSTEM_INFO> lpSystemInfo)>('GetNativeSystemInfo');
return _GetNativeSystemInfo(lpSystemInfo);
}