IPhotoAcquireSource::GetDeviceIcons method (photoacquire.h)

The GetDeviceIcons method retrieves the icons that are used to represent the device.

Syntax

HRESULT GetDeviceIcons(
  UINT  nSize,
  HICON *phLargeIcon,
  HICON *phSmallIcon
);

Parameters

nSize

Integer value containing the size of the icon to retrieve.

phLargeIcon

Specifies the large icon used for the device.

phSmallIcon

Specifies the small icon used for the device.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
A null pointer was passed where non-null was expected.

Requirements

   
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

GetDeviceId

IPhotoAcquireSource Interface