IRecoverableErrorData::GetItemDisplayName
Gets the display name of the item that caused the error.
Syntax
HRESULT GetItemDisplayName(
LPWSTR pszItemDisplayName,
DWORD * pcchItemDisplayName);
Parameters
pszItemDisplayName
[in, out, unique, string, size_is(*pcchItemDisplayName)] Returns the display name of the item that caused the error.pcchItemDisplayName
[in, out] Specifies the number of characters in pszItemDisplayName. Returns the required number of characters for pszItemDisplayName when pcchItemDisplayName is too small; otherwise, returns the number of characters written.
Return Value
S_OK
E_POINTER
HRESULT_FROM_WIN32(ERROR_MORE_DATA) when pszItemDisplayName is too small. In this case, the required number of characters is returned in pcchItemDisplayName.
Provider-determined error codes