BSOS_OPTIONS 枚举 (shcore.h)

指定将组件对象模型封装 (COM) IStreamRandomAccessStream 的行为。

语法

typedef enum {
  BSOS_DEFAULT = 0,
  BSOS_PREFERDESTINATIONSTREAM
} BSOS_OPTIONS;

常量

 
BSOS_DEFAULT
值: 0
通过流创建 RandomAccessStream 时,请通过 Stat 方法对 STGM 模式使用基本 IRandomAccessStream 行为。
BSOS_PREFERDESTINATIONSTREAM
使用 GetDestinationStream 方法。

要求

要求
最低受支持的客户端 Windows 8
最低受支持的服务器 Windows Server 2012
标头 shcore.h

另请参阅

IRandomAccessStream

IStream