Neeraj Sharma 11 Reputation points

Structure CF_CALLBACK_INFO contain a variable PriorityHint which can very from 0 to 15. It can be used to prioritise fetch requests.
I am not able to find anywhere how can we set this.

For workflow
i just open a file handle and read data and OS starts fetching data using extension by passing this structure. How can i tell OS to change this PriorityHint.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,290 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Junjie Zhu - MSFT 10,791 Reputation points Microsoft Vendor

    Hello,@Neeraj Sharma
    Welcome to Microsoft Q&A!

    PriorityHint is managed by Cloud filter, and there is no such attribute in normal files.
    Currently, there is no dedicated api to serve it, and it can only be modified through the callback structure.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.