從命令陣列取得命令。
語法
HRESULT GetCommands(
[out] D2D1_SVG_PATH_COMMAND *commands,
UINT32 commandsCount,
UINT32 startIndex
);
參數
[out] commands
要包含命令的緩衝區。
commandsCount
類型: UINT32
緩衝區的項目計數。
startIndex
類型: UINT32
要擷取之第一個命令的索引。
傳回值
類型: HRESULT
這個方法會傳回 HRESULT 成功或錯誤碼。
規格需求
| 需求 | 值 |
|---|---|
| 目標平台 | Windows |
| 標頭 | d2d1svg.h |
| Dll | Direct2d.dll |