CheckParms 

The CheckParms macro calls an internal function to check debugging parameters on service provider methods called by MAPI.

Quick Info

Header file:

MAPIVAL.H

Implemented by:

MAPI

Called by:

Service providers

 

HRESULT CheckParms(

    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.

 

Remarks

In contrast to the ValidateParms4TYA_RY and UlValidateParms 2LPRXM macros, the CheckParms macro does not perform a full parameter validation. Parameters passed between MAPI and service providers are assumed to be correct, so CheckParms performs a debug validation only.

For more information on parameter validation, see Validating Parameters to Interface MethodsI2_D3U.