Paged memory and shared memory are not the same. The doc page is a little confusing. A user mode DLL cannot normally allocated non paged memory nor mark code as non pageable. In user mode you can use a shared data segment to share memory between processes. The kernel mode driver part of your APO is where you can control non pageable allocations and code. There is only address space for kernel drivers and only one instance of your driver image is loaded, so a shared segment doesn't make sense in kernel mode
Can APO use #pragma data_seg?
伸一 高山
21
Reputation points
Hi.
The following page states that the memory must be nonpageable.
https://learn.microsoft.com/ja-jp/windows-hardware/drivers/audio/implementing-audio-processing-objects
Are paged memory and shared memory the same?
Can APO use shared memory (#pragma data_seg) ?
Best regards.