ITransferSource::GetDefaultDestinationName method (shobjidl_core.h)
Gets the default name for a Shell item.
Syntax
HRESULT GetDefaultDestinationName(
[in] IShellItem *psiSource,
[in] IShellItem *psiParentDest,
[out] LPWSTR *ppszDestinationName
);
Parameters
[in] psiSource
Type: IShellItem*
A pointer to the IShellItem.
[in] psiParentDest
Type: IShellItem*
A pointer to the parent IShellItem of the destination target of the file operation.
[out] ppszDestinationName
Type: LPWSTR*
When the method returns, contains a pointer to a null-terminated, Unicode string containing the default name.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Gets the default name for a Shell item, if different than the item's parsing name.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |