Skip to content

Latest commit

 

History

History
100 lines (60 loc) · 1.72 KB

-wia-iwiauiextension-getdevicebitmaplogo.md

File metadata and controls

100 lines (60 loc) · 1.72 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Gets a custom bitmap logo for the device.
56b3c7c9-64f4-4853-9eb7-d876d02a851f
IWiaUIExtension::GetDeviceBitmapLogo method (Wiadevd.h)
reference
05/31/2018
APIRef
kbSyntax
IWiaUIExtension.GetDeviceBitmapLogo
COM
Wiadevd.h

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