IPhotoAcquireSource::GetFriendlyName method (photoacquire.h)

The GetFriendlyName method retrieves the name of the device, formatted for display.

Syntax

HRESULT GetFriendlyName(
  [out] BSTR *pbstrFriendlyName
);

Parameters

[out] pbstrFriendlyName

Pointer to a string containing the friendly name.

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 value was passed where non-null is expected.

Requirements

Requirement Value
Target Platform Windows
Header photoacquire.h
Library PhotoAcquireUID.lib

See also

IPhotoAcquireSource Interface