IBackgroundCopyJob::GetDisplayName method

Retrieves the display name for the job. Typically, you use the display name to identify the job in a user interface.

Syntax

HRESULT GetDisplayName(
  LPWSTR *pVal
);

Parameters

pVal

Null-terminated string that contains the display name that identifies the job. More than one job can have the same display name. Call the CoTaskMemFree function to free ppDisplayName when done.

Return Value

This method returns the following HRESULT values, as well as others.

Return code Description
S_OK
Display name was successfully retrieved.
E_INVALIDARG
The ppDisplayName parameter cannot be NULL.

Requirements

   
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header bits.h
Library Bits.lib
DLL QmgrPrxy.dll

See Also

IBackgroundCopyJob::SetDisplayName