DbgSetInfo function

设置 Debug 信息


Function:

bool UAPI DbgSetInfo(
        bool bDebug,
        uint uFlags
);

Parameters:

  • bDebug [in]:Debug 状态
  • uFlags [in]:Debug 标志

Return value:

  • Type:BOOL
  • Text:成功返回 TRUE,失败返回 FALSE

Remarks:

  1. 当前用户扩展进程 Token 应具有 TOKEN_FLAGS_DEBUG 标志,否则将导致函数失败
  2. 开发者应仅在 Debug 版本中使用 DbgSetInfo function 开启或关闭 Debug 模式,如在 Release 版本中使用将降低应用程序安全性和稳定性

Requirements:

Keyword Value
Minimum Agine Version 171012.1
Minimum SDK Version 171012.1
Header File h.dbghelp
Library Server kext

results matching ""

    No results matching ""