Returns the texture metadata from a file.
HRESULT GetMetadataFromDDSFile(
LPCWSTR szFile,
DWORD flags,
TexMetadata &metadata
)
szFile
Type: LPCWSTR
[in] Source file.
flags
Type: DWORD
[in] One or more flags from the DDS_FLAGS enumeration.
metadata
Type: TexMetadata
[out] Address of a TexMetadata structure.
Type: HRESULT
Header: Declared in directxtex.h.