I'm trying to use QueryUnbiasedInterruptTime function and I think I include all the required headers and everything but for some reason I can't get it to work.
I am using windows 7 and Visual Studio 2008. Here is my code:
#include <windows.h>
#include <stdio.h>
#include <string.h>
#include <sstream>
#define _WIN32_WINNT 0x0601
void main (void) {
LARGE_INTEGER interr; // For converting tick into real time
QueryUnbiasedInterruptTime (&interr);
printf("Interrupt Time: %d\n", interr);
}
Anyone any idea why?
Thanks
Edited by dargueta, 28 April 2011 - 10:28 PM.
Please use [code][/code] tags next time.


Sign In
Create Account


Back to top










