IBackgroundCopyJob::GetDescription 方法 (bits.h)

擷取作業的描述。

語法

HRESULT GetDescription(
  [out] LPWSTR *pVal
);

參數

[out] pVal

Null 終止的字串,其中包含作業的簡短描述。 完成時呼叫 CoTaskMemFree 函式以釋放 ppDescription

傳回值

這個方法會傳回下列 HRESULT 值,以及其他值。

傳回碼 Description
S_OK
已成功擷取作業的描述。
E_INVALIDARG
參數 ppDescription 不能是 NULL

規格需求

需求
最低支援的用戶端 Windows XP
最低支援的伺服器 Windows Server 2003
目標平台 Windows
標頭 bits.h
程式庫 Bits.lib
Dll QmgrPrxy.dll

另請參閱

IBackgroundCopyJob::SetDescription