Share via


ValidateReadPtr (Compact 2013)

3/26/2014

This macro checks a read pointer. If the pointer is not valid, this macro calls DbgBreak.

Syntax

ValidateReadPtr(
  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