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 and MAPI.

Header file:


Implemented by:


Called by:

Service providers

HRESULT UlValidateParameters(
  METHODS eMethod,
  LPVOID First


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

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

Return Value

  • S_OK
    The call succeeded and has returned the expected value or values.

    An error of unexpected or unknown origin prevented the operation from completing.


The UlValidateParameters macro has been superseded by the UlValidateParms macro. UlValidateParameters 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 UlValidateParms is recommended on all platforms.