DbgKernelAssert (Compact 2013)

3/26/2014

This function is called in a debug build to print the condition onto the kernel debugger, including the condition text, source file name, and source line number.

Syntax

void WINAPI DbgKernelAssert(
  const TCHAR* pCondition,
  const TCHAR* pFileName,
  INT iLine
);

Parameters

  • pCondition
    Pointer to a string version of a Boolean expression.
  • pFileName
    Pointer to a source file name.
  • iLine
    Line number within the source file.

Remarks

This function is available only in a debug build. Usually, DbgKernelAssert is called by macros, not directly from other code.

Unlike DbgAssert, when macros call DbgKernelAssert in a debug build, no message box appears.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Assert Functions