| 77 | DWORD flProtect = 0; |
| 78 | |
| 79 | if (!ppAddress || AlignmentBytes > 0x20000) //Alignment must be less than 128KB. |
| 80 | return E_INVALIDARG; |
| 81 | |
| 82 | if (AlignmentBytes <= 0x10000) |
| 83 | flAllocationType = MEM_LARGE_PAGES | MEM_GRAPHICS | MEM_COMMIT | MEM_RESERVE; |
| 84 | |
| 85 | //Apparently PAGE_GRAPHICS flags were used on those and they appear on winnt.h but aren't supported on Windows. |
| 86 | if (Flags == D3D11_GRAPHICS_MEMORY_ACCESS_CPU_CACHE_COHERENT) |
nothing calls this directly
no outgoing calls
no test coverage detected