Platform SDK: MAPI

CheckParms

The CheckParms macro calls an internal function to validate 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 ValidateParms and UlValidateParms 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 Methods.

See Also

Parameter Validation Macros