IBackgroundCopyJob::GetDescription 方法 (bits.h)

检索作业的说明。

语法

HRESULT GetDescription(
  [out] LPWSTR *pVal
);

参数

[out] pVal

以 Null 结尾的字符串,其中包含作业的简短说明。 完成后,调用 CoTaskMemFree 函数以释放 ppDescription

返回值

此方法返回以下 HRESULT 值以及其他值。

返回代码 说明
S_OK
已成功检索作业的说明。
E_INVALIDARG
参数 ppDescription 不能为 NULL

要求

要求
最低受支持的客户端 Windows XP
最低受支持的服务器 Windows Server 2003
目标平台 Windows
标头 bits.h
Library Bits.lib
DLL QmgrPrxy.dll

另请参阅

IBackgroundCopyJob::SetDescription