Microsoft DirectX 9.0 |
Verifies that the calling process has write access to a memory block. If not, the macro calls the DbgBreak macro.
Syntax
ValidateWritePtr(
const void *p,
UINT cb
);
Parameters
p
Pointer to a memory block.
cb
Size of the memory block, in bytes.
Remarks
This macro is ignored unless DEBUG, _DEBUG, or VFWROBUST is defined when the DirectShow base-class header file is included. This macro can have a significant performance cost.
See Also