IsProcessInWDAGContainer 函数(isolatedapplauncher.h)

确定进程是否在 Microsoft Defender 应用程序防护 (MDAG) 容器中运行。

Syntax

HRESULT IsProcessInWDAGContainer(
  PVOID Reserved,
  BOOL  *isProcessInWDAGContainer
);

参数

Reserved

此参数保留供将来使用。

isProcessInWDAGContainer

这表示进程是否在 MDAG 容器中运行。

返回值

返回 HRESULT 成功或错误代码。

注解

警告

这是已弃用的 API。

注释

Windows Defender 应用程序防护(WDAG)现已Microsoft Defender 应用程序防护(MDAG)。 WDAG 名称已弃用,但仍在某些 API 中使用。

要求

Requirement 价值
Header isolatedapplauncher.h
Library OneCore.Lib