Previous in Contents Next in Contents

IClientPaymentProvider::GetInstanceType

Syntax

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

Description

The GetInstanceType function returns the friendly name of an instance's type based upon the index.

Parameters

cIndex
Index of the payment instance in the list of instances registered with the CPC.
pRetType
Pointer to the location where this function will return the name of the type of the payment instance at the specified index.

Return Value

This function returns one of the following values.

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


© 1997-2000 Microsoft Corporation. All rights reserved.