mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
1815aae877
Since indeeed the memcpy/move type of functions usually don't operate on pointers to 'volatile' data, don't make ClientCaptureBuffer volatile. Instead when retrieving the values of its 'Size' and 'PointerCount' members (see the SEH block), use the so-called technique of "volatile glasses" [1], where the pointer will be explicitly casted to "volatile TYPE*" where needed. [1]: https://docs.microsoft.com/archive/blogs/itgoestoeleven/why-your-user-mode-pointer-captures-are-probably-broken |
||
---|---|---|
.. | ||
mvdm | ||
win | ||
win32 | ||
CMakeLists.txt |