UlValidateParameters 

The UlValidateParameters macro calls an internal function to check the parameters client applications have passed to service providers and MAPI.

Quick Info

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 Values

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 UlValidateParms2LPRXM 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.