ValidateParameters

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Header file:

Mapival.h

Implemented by:

MAPI

Called by:

Service providers

HRESULT ValidateParameters(
  METHODS eMethod,
  LPVOID First
);

Parameters

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

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

Return Value

  • S_OK
    All of the parameters are valid.

  • MAPI_E_CALL_FAILED
    One or more of the parameters are not valid.

Remarks

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.