Previous in Contents Next in Contents

IPaymentCCTypeInstall::GetTypeInfo

Syntax

HRESULT GetInstallInfo(
longcIndex// in
BSTR *pbstrType// out
BSTR *pbstrFriendName// out
);

Description

The GetTypeInfo function obtains information about a unique type supported by the Other Card DLL. The Credit Card component uses this information (which is accessed as a zero-based array) to track the types stored in the Other Card DLL.

Parameters

cIndex
Index value that identifies the type of information sought by the Credit Card component.
pbstrType
Pointer to a BSTR where this function returns the type corresponding to the index value. This type must be unique within the Credit Card component. Types that already exist in the Credit Card component will not be reinstalled.
pbstrFriendName
Pointer to a BSTR where this function returns the friendly name of the type.

Return Values

This function returns one of the following values.

Value Meaning
E_FAIL Failure
E_OUTOFMEMORY Insufficient memory
S_OK Success


© 1997-2000 Microsoft Corporation. All rights reserved.