Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IBackgroundCopyJob::GetDisplayName method (bits.h)

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

Syntax

HRESULT GetDisplayName(
 [out] LPWSTR *pVal
);

Parameters

[out] 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

Requirement Value
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


Feedback

Was this page helpful?

Additional resources