IDirectManipulationViewport::SetChaining 方法 (directmanipulation.h)

指定可链接到父视区的视区中支持的运动类型。

语法

HRESULT SetChaining(
  [in] DIRECTMANIPULATION_MOTION_TYPES enabledTypes
);

参数

[in] enabledTypes

DIRECTMANIPULATION_MOTION_TYPES中的值之一,指定为此视区启用的运动类型。

返回值

如果方法成功,则返回 S_OK。 否则,将返回 HRESULT 错误代码。

要求

要求
最低受支持的客户端 Windows 8 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 [仅限桌面应用]
目标平台 Windows
标头 directmanipulation.h

另请参阅

IDirectManipulationViewport