Share via


ValidateStringPtrW

 
Microsoft DirectShow 9.0

ValidateStringPtrW

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

  • Note   This macro is deprecated. In the Windows SDK for Windows Vista (and later) this macro does not do anything.

Syntax

  ValidateStringPtrW(
    LPCWSTR p
);

Parameters

p

Pointer to a NULL-terminated wide-character string.

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.

Requirements

**  Header:** Declared in Wxdebug.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also