UlValidateParameters

Applies to: Outlook 2013 | Outlook 2016

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

Property Value
Header file:
Mapival.h
Implemented by:
MAPI
Called by:
Service providers
HRESULT UlValidateParameters(
  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

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

MAPI_E_CALL_FAILED

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

Remarks

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.