I have a couple of questions about the use of VideoPortGetAccessRanges() in a video miniport.
- The method has an argument specifying the number of ranges to return so how will I know how many ranges I should request? I think it will be specified in the GPU reference manual. Here’s a screenshot from the PDF for the GPU I’m trying to support. There are 6 rows in this table, so would I request 6 ranges?
- Once I know how many ranges I need and VideoPortGetAccessRanges() has returned them, how will I know which is which? For example, there might be one for the framebuffer and one for MMIO. Are they guaranteed to be returned in a certain order, or do I need to check the size of each range and infer what it is?