During my minifilter's PostCreate, I must use a global push lock to synchronize threads by design, and I must call FltQueryInformationFile to query file size.
However,
1, After I called FltAcquirePushLockExclusive, the APC delivery is disabled;
2, If the APC delivery is disabled, then FltQueryInformationFile will fail because it must be called at PASSIVE_LEVEL and APCs are enabled.
In such a case, how should I query the file size? Does building an IRP help?
Thanks in advance.