HRESULT GetSupportType(
longcIndex// in
BSTR FAR *pRetType// out
);
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.
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. |