ID3D11DeviceContext3::SetHardwareProtectionState 方法 (d3d11_3.h)

设置硬件保护状态。

语法

void SetHardwareProtectionState(
  [in] BOOL HwProtectionEnable
);

参数

[in] HwProtectionEnable

类型: BOOL

指定是否启用硬件保护。

返回值

要求

要求
目标平台 Windows
标头 d3d11_3.h
Library D3D11.lib

另请参阅

ID3D11DeviceContext3