thub.users.profile.tabs.comments.personalized


"Callback to inform the sync provider that a placeholder under one of its sync roots has been successfully opened for read/write/delete access." Based on the document, yes, it is what you are looking for. Feel free let me know if it doesn't work for you. And there is an API CfOpenFileWithOplock can combine the open and lock operations in one function call, you can check if it helps.



If the answer is helpful, please click "Accept Answer" and upvote it.

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.


Got what you mean. Yes, there is no direct information indicates a file is opened as read or write. Why do you want to lock a file opened for writing? Could you share your use case?

Thanks for sharing your scenario. If you want prevent files from modifying make them read-only for other uses.

Has this issue been solved? Feel free let me know if you have any concern about it.

As we discussed in previous comments, generally, we can set file as read-only for protecting from write access. And generally person A (process A), or one of client side and server side, opens a file exclusively, or open and then lock to prevent others to open it or limit some access rights. However, for your case, the file is opened in client side and will be locked at server side, the server doesn't have that opened handle of the file (directly). And there seems no direct API to check a file is opened as what access right in Win32 APIs. But in driver APIs, there is NtQueryObject (ObjectInformationClass -> ObjectBasicInformation -> GrantedAccess) you can check if it helps.

Hello @DanielBene-4666, the conversion happens when "the current fullscreen buffer format is not contained in the pSupportedFormats array". So what's your current fullscreen buffer format?

I fail to reproduce this issue because I got DXGI_ERROR_UNSUPPORTED error when calling DxgiOutput5->DuplicateOutput1(). Could you share (via GitHub) a mini, complete and reproducible sample so I can do a further investigation? Please make sure your private date removed before sharing. Thanks.

Thank you for bringing this to our attention. I can reproduce this issue on Windows 10 2004 but it works on 1909. I've reported it internally.

Yes, this issue is confirmed internally and has been reported. Thanks for your contribution. But there is no ETA for a fix. You can monitor Known issues and Resolved issues with public release.


Hello @Gallantmoney682-2322, the document states that "UI_PKEY_GlobalHighlightColor Introduced in Windows 8". What's your latest version reproduces this issue?


Thanks for your confirmation. I'll consult the related engineer for helping and update to you if there is any progress.

Hello @SchaeferJoerg-5701, do you mean calling IMFSourceReader::Flush() can't get IMFSourceReader::ReadSample() return? What's return value of the IMFSourceReader::Flush()?

Thanks for confirmation. At what condition this issue occurs? Is it related to camera's status?

Thanks for detailed information. I'll consult the related engineer for helping on this issue.

I am trying to understand "built-in renderer" you mentioned. If the render is not listed in this document and it is a third-party render. You may confirm what interface it supports at first. In order to use IMFVideoProcessorControl::SetRotation, it requires you are able to insert a MFT in the video pipeline. And about creating a video processor there are two ways: By calling MFTEnumEx or By calling the COM function CoCreateInstance. Could you share a code sample of how the video is playing?