Microsoft DirectX 8.1 (C++)

ValidateStringPtr

Verifies that the calling process has read access to a string. If not, the macro calls the DbgBreak macro.

Syntax

ValidateStringPtr(
    LPCTSTR p
);

Parameters

p

Pointer to a NULL-terminated TCHAR string.

Remarks

This macro is ignored unless DEBUG or VFWROBUST is defined when the DirectShow base-class header file is included. This macro can have a significant performance cost.

See Also