Verifies that a buffer pointer is a valid pointer and has access rights to the memory it references.
BOOLEAN ValidateRtBuffer(
LPVOID pBuffer,
DWORD cbSize,
DWORD dwFlags
);
pBuffercbSizedwFlagsBUFFER_WRITABLE |
Verify that this buffer is writable across the defined range. |
BUFFER_READONLY |
Verify that this buffer is readable across the defined range. |
TRUEFALSEE_BAD_ADDRpBuffer contains missing pages within the range specified, or BUFFER_WRITABLE was specified and one or more pages of the range are read-only.| Versions | Defined in | Include | Link to |
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |
Memory management system calls