WICPersistOptions enumeration

Specifies Windows Imaging Component (WIC) options that are used when initializing a component with a stream.

Syntax


typedef enum WICPersistOptions { 
  WICPersistOptionDefault        = 0x00000000,
  WICPersistOptionLittleEndian   = 0x00000000,
  WICPersistOptionBigEndian      = 0x00000001,
  WICPersistOptionStrictFormat   = 0x00000002,
  WICPersistOptionNoCacheStream  = 0x00000004,
  WICPersistOptionPreferUTF8     = 0x00000008,
  WICPersistOptionMask           = 0x0000FFFF
} WICPersistOptions;

Constants

WICPersistOptionDefault

The default persist options. The default is WICPersistOptionLittleEndian.

WICPersistOptionLittleEndian

The data byte order is little endian.

WICPersistOptionBigEndian

The data byte order is big endian.

WICPersistOptionStrictFormat

The data format must strictly conform to the specification.

Warning  This option is inconsistently implement and should not be relied on.

WICPersistOptionNoCacheStream

No cache for the metadata stream.

Certain operations, such as IWICComponentFactory::CreateMetadataWriterFromReader require that the reader have a stream. Therefore, these operations will be unavailable if the reader is initialized with WICPersistOptionNoCacheStream.

WICPersistOptionPreferUTF8

Use UTF8 instead of the default UTF16.

Note  This option is currently unused by WIC.

WICPersistOptionMask

The WICPersistOptions mask.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wincodecsdk.h

IDL

Wincodecsdk.idl

See also

GetPersistOptions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.