Is the following comment in the example Change MiniFilter CgPreCreate method correct?
//
// Return FLT_PREOP_SYNCHRONIZE at PreCreate due to
// some callback of PostCreate may be at DPC level.
// eResource is required at level < DPC.
//
The Microsoft documentation mentions that PostCreate will always be called at PASSIVE_LEVEL - ref.
Also, the Microsoft documentation specifically for FLT_PREOP_SYNCHRONIZE states that PreCreate shouldn't return FLT_PREOP_SYNCHRONIZE, as Create operations are already synchronized - ref.
I see a comment on this method in the past, but it looks to be targeting a different comment - Issue 151.