다음을 통해 공유


DbgKernelAssert (Windows Embedded CE 6.0)

1/6/2010

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

Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

Assert Functions