WPD_FLASH_MODES enumeration

The WPD_FLASH_MODES enumeration type describes a flash mode to use when capturing images with a device.

Syntax

typedef enum WPD_FLASH_MODES { 
  WPD_FLASH_MODE_UNDEFINED      = 0,
  WPD_FLASH_MODE_AUTO           = 1,
  WPD_FLASH_MODE_OFF            = 2,
  WPD_FLASH_MODE_FILL           = 3,
  WPD_FLASH_MODE_RED_EYE_AUTO   = 4,
  WPD_FLASH_MODE_RED_EYE_FILL   = 5,
  WPD_FLASH_MODE_EXTERNAL_SYNC  = 6
} ;

Constants

WPD_FLASH_MODE_UNDEFINED

No flash mode has been specified.

WPD_FLASH_MODE_AUTO

Specifies that the flash should be used in the automatic mode, as specified by the device.

WPD_FLASH_MODE_OFF

Specifies that no flash should be used.

WPD_FLASH_MODE_FILL

Specifies a fill-type flash.

WPD_FLASH_MODE_RED_EYE_AUTO

Specifies that the red eye reduction flash should be used.

WPD_FLASH_MODE_RED_EYE_FILL

Specifies that the red eye fill flash should be used.

WPD_FLASH_MODE_EXTERNAL_SYNC

Specifies that the flash should be synchronized with other external flash devices.

Remarks

This enumeration is used by the WPD_STILL_IMAGE_FLASH_MODE property.

Requirements

Requirement Value
Header
PortableDevice.h

See also

Structures and Enumeration Types