I'm wanting to convert the two pieces of code below into either C# or VB.net, but can't find a converter online. Is anyone able to convert these or point me to an online converter?
#define TARGET_RESOLUTION 1 // 1-millisecond target resolution
TIMECAPS tc;
UINT wTimerRes;
if (timeGetDevCaps(&tc, sizeof(TIMECAPS)) != TIMERR_NOERROR)
{
// Error; application can't continue.
}
wTimerRes = min(max(tc.wPeriodMin, TARGET_RESOLUTION), tc.wPeriodMax);
timeBeginPeriod(wTimerRes);
//...
Code (markup):
Convert C++ to C# or VB.net WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 164
تاريخ: پنجشنبه
3 فروردين
1402 ساعت: 12:25