IPhotoAcquireItem::GetItemName method (photoacquire.h)

The GetItemName method retrieves the file name for an item.

Syntax

HRESULT GetItemName(
  [out] BSTR *pbstrItemName
);

Parameters

[out] pbstrItemName

Pointer to a string containing the name of the item.

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.

Remarks

The file name consists of the display name and the extension, even if the Hide extensions for known file types setting is checked in the Windows Folder Options dialog box.

Requirements

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

See also

IPhotoAcquireItem Interface