The compiler generates a warning when a parameter of a procedure is not referenced within that procedure. In some instances it is necessary to have an unreferenced parameter within a procedure. Operating system call back procedures are such an example. The UNREFERENCED_PARAMETER procedure can be used to suppress warnings on unreferenced parameters.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One more question and then I'll leave you guys alone for a while..
What is this for:
UNREFERENCED_PARAMETER(somepar);
I can't find it in the tutorials I have, or on MSDN, or in the API reference help file, or anywhere else.
-Jay
PROCEDURE UNREFERENCED_PARAMETER(AnyParameter);
The compiler generates a warning when a parameter of a procedure is not referenced within that procedure. In some instances it is necessary to have an unreferenced parameter within a procedure. Operating system call back procedures are such an example. The UNREFERENCED_PARAMETER procedure can be used to suppress warnings on unreferenced parameters.