Previous in Contents Next in Contents

ICreditCardOtherCard::GetBitmap

Syntax

HRESULT GetBitmap(
BSTR
bstrType// in
longfType// in
long *hBitMap// out
);

Description

The GetBitmap function returns a bitmap handle based upon the type of the instance. Large (120 × 79, 16–system color) and small (30 × 18, 16–system color) bitmaps are defined or supported. It is valid to return zero if a bitmap does not exist. In this case, the default bitmap for the Payment Selector is used.

Parameters

bstrType
String identifying the payment type. The name of the payment type must be unique.
fType
Value of the type long, indicating whether the small or large bitmap should be returned.
hBitMap
Address where this function returns a handle to a bitmap that is used to represent the payment type.

Return Value

This function returns one of the following values.

Value Meaning
E_FAIL Failure
S_OK Success


© 1997-2000 Microsoft Corporation. All rights reserved.