IManipulationProcessor::get_SupportedManipulations 方法 (manipulations.h)

SupportedManipulations 属性用于指示对象支持哪些操作。

此属性是可读写的。

语法

HRESULT get_SupportedManipulations(
  MANIPULATION_PROCESSOR_MANIPULATIONS *manipulations
);

参数

manipulations

返回值

备注

使用此属性,你可以控制 支持哪些操作,哪些操作不支持。 例如,可以在支持 x 翻译操作的同时阻止所有 y 翻译操作。

示例


        CoInitialize(0);

        hr = spIManipProc.CoCreateInstance(CLSID_ManipulationProcessor, NULL, CLSCTX_ALL);

        MANIPULATION_PROCESSOR_MANIPULATIONS mpm;
        spIManipProc->get_SupportedManipulations(&mpm);    
        

要求

要求
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2 [仅限桌面应用]
目标平台 Windows
标头 manipulations.h (包括 Manipulations_i.c)

另请参阅

IManipulationProcessor

MANIPULATION_PROCESSOR_MANIPULATIONS

属性