Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What is the meaning of this statement:
C#
QueryPerformanceFrequency((LARGE_INTEGER*)&freq);

Can anyone please explain?
Posted
Updated 10-Sep-10 22:57pm
v2

If you are concerned about the
(LARGE_INTEGER*)&freq

part, I guess the freq variable isn't declared as LARGE_INTEGER (but it's type, at least from the author's point of view, is compatible with) so a cast is needed (after its address is taken via the & operator).
 
Share this answer
 
A simple search of MSDN yields this[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900