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 |
---|---|
|
The method succeeded. |
|
A null value was passed where non-null is expected. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |