IWiaUIExtension::GetDeviceBitmapLogo method

Gets a custom bitmap logo for the device.

Syntax

HRESULT GetDeviceBitmapLogo(
  [in]  BSTR    bstrDeviceId,
  [out] HBITMAP *phBitmap,
  [in]  ULONG   nMaxWidth,
  [in]  ULONG   nMaxHeight
);

Parameters

bstrDeviceId [in]

Type: BSTR

Specifies the device ID of the WIA device for which the icon is to be obtained.

phBitmap [out]

Type: HBITMAP*

Points to a memory location that will receive a handle for the bitmap logo for the device.

nMaxWidth [in]

Type: ULONG

Specifies the desired width of the bitmap.

nMaxHeight [in]

Type: ULONG

Specifies the desired height of the bitmap.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Wiadevd.h