WPD_STREAM_UNITS enumeration

The WPD_STREAM_UNITS enumeration specifies the unit types to be used for IPortableDeviceUnitsStream operations.

Syntax

typedef enum _WPD_STREAM_UNITS { 
  WPD_STREAM_UNITS_BYTES         = 0,
  WPD_STREAM_UNITS_FRAMES        = 1,
  WPD_STREAM_UNITS_ROWS          = 2,
  WPD_STREAM_UNITS_MILLISECONDS  = 3,
  WPD_STREAM_UNITS_MICROSECONDS  = 4
} WPD_STREAM_UNITS;

Constants

WPD_STREAM_UNITS_BYTES

The stream units are specified in bytes.

WPD_STREAM_UNITS_FRAMES

The stream units are specified in frames.

WPD_STREAM_UNITS_ROWS

The stream units are specified in rows.

WPD_STREAM_UNITS_MILLISECONDS

The stream units are specified in milliseconds.

WPD_STREAM_UNITS_MICROSECONDS

The stream units are specified in microseconds.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
None supported
Header
PortableDeviceTypes.h

See also

IPortableDeviceUnitsStream

IPortableDeviceUnitsStream::SeekInUnits