IAppFrameWork::VerifyWith

Ee824837.c++_off(en-US,CS.10).gifEe824837.vb_on(en-US,CS.10).gif

Use this method to generate hidden input fields that contain verification values.

Definition

HRESULT IAppFrameWork::VerifyWith(IDispatch*pdispOrder,SAFEARRAY(VARIANT)pParams,BSTR*pbstrRet);

Parameters

pdispOrder

[in] A pointer to the IDispatch interface that can be used to retrieve the OrderForm object that contains the fields to verify.

pParams

[in] A SAFEARRAY that contains a list of field names to verify in the supplied OrderForm object.

pvtRet

[out, retval] A pointer to a VARIANT used to return the HTML tags.

Return Values

This method returns an HRESULT indicating whether it completed successfully. See the Error Values section for more details.

Error Values

This method returns S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.

Remarks

The pvtRet parameter points to valid data only if the method completed successfully.

Use this method to output HTML tags in the form <INPUT TYPE="HIDDEN"> in an HTML form. These hidden fields contain specified values from the OrderForm object to be used to verify that an order has not been altered between presentation of the OrderForm object and final purchase.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

AppFrameWork Object

OrderForm Object


All rights reserved.