Share via


ValidateWritePtr (Compact 2013)

3/26/2014

This macro checks a write pointer and calls DbgBreak if the pointer is not valid.

Syntax

ValidateWritePtr(
  const void* p,
  UINT cb
);

Parameters

  • p
    Pointer value (of any type).
  • cb
    Byte count to be checked.

Remarks

This macro is ignored unless DEBUG or VFWROBUST is defined when the Microsoft DirectShow headers are included.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Pointer Validation Macros