Previous in Contents Next in Contents

IClientPaymentProvider::GetTypeBitmap

Syntax

HRESULT GetTypeBitmap(
BSTRbstrType// in
longfType// in
long *hBitMap// out
);

Description

The GetTypeBitmap function returns a bitmap handle based on a type. 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. Note that this function will not return an E_OUTOFMEMORY value because bitmaps are created during the Create call (which may return an E_OUTOFMEMORY value).

Parameters

bstrType
Name of the type associated with the bitmap.
fType
Enumerated type indicating whether the small or large bitmap should be returned.
hBitMap
Pointer to the location where this method returns a handle to a bitmap that is used with the friendly name to represent the payment instance.

Return Values

This function returns one of the following values.

Value Meaning
E_INVALIDARG One or more of the arguments is invalid.
E_FAIL Failure.
S_OK Success.


© 1997-2000 Microsoft Corporation. All rights reserved.