Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 9.0 |
Pointer Validation Macros
Microsoft® DirectShow® provides several macros for validating pointers.
Requirements
** Header:** Declared in Wxdebug.h; include Streams.h.
** Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
| Macro | Description |
| CheckPointer | Checks whether a pointer is NULL. |
| ValidateReadPtr | Verifies that the calling process has read access to a memory block. |
| ValidateReadWritePtr | Verifies that the calling process has read/write access to a memory block. |
| ValidateStringPtr | Verifies that the calling process has read access to a string. |
| ValidateStringPtrA | Verifies that the calling process has read access to an ANSI string. |
| ValidateStringPtrW | Verifies that the calling process has read access to a wide-character string. |
| ValidateWritePtr | Verifies that the calling process has write access to a memory block. |