Previous in Contents Next in Contents

IClientPaymentProvider::GetSupportType

Syntax

HRESULT GetSupportType(
longcIndex// in
BSTR FAR *pRetType// out
);

Description

The GetSupportType function returns the friendly name for a payment type based on the index position. This includes only the enabled types. The friendly name for a type is the string presented to a consumer for identification (for example, "American Express"). Valid values of an index are zero through GetTypeCount minus one.

Parameters

cIndex
Index of the payment instance in the list of instances registered by the CPC.
pRetType
String containing the friendly name for the specified payment type.

Return Value

This function returns one of the following values.

Value Meaning
S_OK Success.
E_INVALIDARG One or more of the arguments is invalid.
E_OUTOFMEMORY Out of memory.
E_FAIL Failure.


© 1997-2000 Microsoft Corporation. All rights reserved.