Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IWICDdsFrameDecode::GetFormatInfo method

Gets information about the format in which the DDS image is stored.

Syntax


HRESULT GetFormatInfo(
  [out] WICDdsFormatInfo *pFormatInfo
);

Parameters

pFormatInfo [out]

Type: WICDdsFormatInfo*

Information about the DDS format.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This information can be used for allocating memory or constructing Direct3D or Direct2D resources, for example by using ID3D11Device::CreateTexture2D or ID2D1DeviceContext::CreateBitmap.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

See also

IWICDdsFrameDecode
WICDdsFormatInfo
ID3D11Device::CreateTexture2D
CreateBitmap

 

 

Show:
© 2017 Microsoft