Share via

System.Runtime.InteropServices Compatiblity with Windows11

Aditya Tyagi 1 Reputation point
2022-03-29T14:20:17.06+00:00

Hello,
I am currently using system runtime Interop services for monotonic time stamping.
Bellow are the functions I am using.

[DllImport("kernel32.dll")]
public static extern bool QueryPerformanceCounter(out long value);
[DllImport("kernel32.dll")]
public static extern bool QueryPerformanceFrequency(out long value);

I am wondering wither these services will work fine with windows 11?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.