StreamClassDebugAssert 函数 (strmini.h)

此函数已过时。

在 Windows 10 版本 1803 之前,检查的版本在旧版本的 Windows 上可用。 使用驱动程序验证器和 GFlags 等工具检查更高版本的 Windows 中的驱动程序代码。

语法

__analysis_noreturn VOID STREAMAPI StreamClassDebugAssert(
  [in] IN PCHAR File,
  [in] IN ULONG Line,
  [in] IN PCHAR AssertText,
  [in] IN ULONG AssertValue
);

参数

[in] File

指向包含发生断言的文件名的 NULL 终止字符串的指针。

[in] Line

指定断言的行号。

[in] AssertText

指向包含要打印在调试消息中的文本的 NULL 终止字符串的指针。

[in] AssertValue

指定要在调试消息中打印的值。

返回值

没有

要求

要求 价值
目标平台 桌面
标头 strmini.h (包括 Strmini.h)
Stream.lib