Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Calls an internal function to check the parameters client applications have passed to service providers.

Header file:


Implemented by:


Called by:

Service providers

HRESULT ValidateParameters(
  METHODS eMethod,
  LPVOID First


[in] Specifies, by enumeration, the method to validate.


[in] Pointer to the first argument on the stack.


All of the parameters are valid.


One or more of the parameters are not valid.

The ValidateParameters macro has been superseded by the ValidateParms macro. ValidateParameters does not work correctly on RISC platforms and is now prevented from compiling on them. It still compiles and works correctly on Intel platforms, but ValidateParms is recommended on all platforms.

© 2015 Microsoft