As I understand VirtualAlloc, it allows to mark mapped pages of the paging-file as discardable. But I want to make pages mapped to a file which is read-only as discardable.