IsNativeVhdBoot function kernel32
Indicates if the OS was booted from a VHD container.
To learn more, see learn.microsoft.com/windows/win32/api/winbase/nf-winbase-isnativevhdboot.
Implementation
Win32Result<bool> IsNativeVhdBoot(Pointer<Int32> nativeVhdBoot) {
resolveGetLastError();
final result_ = _IsNativeVhdBoot(nativeVhdBoot);
return .new(value: result_ != FALSE, error: GetLastError());
}