取得工作描述。
語法
HRESULT GetDescription(
[out] LPWSTR *pVal
);
參數
[out] pVal
包含工作簡短描述的 null-terminald 字串。 完成後呼叫 CoTaskMemFree 函式來釋放 ppDescription 。
返回值
此方法回傳以下 HRESULT 值及其他值。
| 回傳碼 | Description |
|---|---|
|
工作描述已成功取得。 |
|
參數 ppDescription 不能是 NULL。 |
需求
| Requirement | 價值觀 |
|---|---|
| 最低支援的用戶端 | 視窗XP |
| 支援的最低伺服器 | Windows Server 2003 |
| 目標平臺 | 窗戶 |
| Header | Bits.h |
| Library | Bits.lib |
| DLL | QmgrPrxy.dll |