检索给定类型的链的帧。
Syntax
HRESULT GetChainedFrame(
WICBitmapChainType chainType,
UINT index,
IWICBitmapFrameDecode **ppIBitmapFrame
);
Parameters
chainType
Type: WICBitmapChainType
要为其检索帧的链类型。
index
Type: UINT
要检索的帧的索引。
ppIBitmapFrame
Type: IWICBitmapFrameDecode**
Receives the frame at index for chains of type chainType.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULTerror code.
Requirements
| Requirement | Value |
|---|---|
| Header | wincodec.h |