Invalid parameter on querying FileNetworkOpenInformation

Hi all,

I've been facing the error STATUS_INVALID_PARAMETER (0xC000000D) on trying to call ZwQueryInformationFile with FileNetworkOpenInformation. Although this has been working fine when accessing a Windows file share, it results on the above error when I try to do the same on a NetApp share.

After some investigation, I saw somewhere on the internet that some File Systems don't implement FileNetworkOpenInformation and we receive the above error in such cases.

My question is: "Is there any public documentation or reference I can rely on about this?"

Regards,

Fernando Roberto da Silva
DriverEntry Kernel Development

Hi Fernando,

When I had to support my filter on NetApp appliances, the only “documentation” I could find was the actual NetApp OnTap simulator. We set one up in our environment and probed it using our filter, Zezula’s file test utility, etc…

We found lots of subtle differences between NetApp and Windows file shares, including unsupported IOCTLs.

At the time, the simulator was a free download.

Alnoor

Hi Alnoor,

Thanks for your answer. We have a NetApp installed on our lab and we only found the issue when we started using our solution on it.
When I was trying to understand the issue, I didn't find any thread about this on OSR lists or somewhere else. At least this thread may help someone else in the future.

Regards,

Fernando Roberto da Silva
DriverEntry Kernel Development