Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

UlValidateParameters

Last modified: January 16, 2009

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Header file:

Mapival.h

Implemented by:

MAPI

Called by:

Service providers

HRESULT UlValidateParameters(
  METHODS eMethod,
  LPVOID First
);

eMethod

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

First

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

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.

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.

Show:
© 2016 Microsoft