Previous in Contents Next in Contents

IClientPaymentProvider::GetTypeCount

Syntax

HRESULT GetTypeCount(
long *pcRet// out
);

Description

The GetTypeCount function returns the number of types currently enabled in the CPC. All CPCs support at least one type but may have zero or more types disabled by the Payment Manager.

Parameters

pcRet
Pointer to the location where this function will return the count of the number of payment types enabled in the CPC. For example, the return value would be 2 for a Credit Card component that supports VISA and MasterCard, if both are enabled.

Return Value

This function returns one of the following values.

Value Meaning
S_OK Success
E_FAIL Failure


© 1997-2000 Microsoft Corporation. All rights reserved.