А какую ошибку выдает?
Цитата:
If the function fails, the return value is zero. To get extended error information, call GetLastError. For example, if the installed hardware does not support a high-resolution performance counter, the function fails.
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx