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 |
|
|
|
|
Gets a custom bitmap logo for the device.
HRESULT GetDeviceBitmapLogo(
[in] BSTR bstrDeviceId,
[out] HBITMAP *phBitmap,
[in] ULONG nMaxWidth,
[in] ULONG nMaxHeight
);
-
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.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirement | Value |
---|---|
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|