You may not be able to retrieve number of "file opens" that are currently active against the file through property InUseCount of class CIM_DataFile class


Summary


You may want to query the number of "file opens" that are currently active against the file through property InUseCount of class CIM_DataFile class but it always returns NULL.

Currently, InUseCount of class CIM_DataFile class is not implemented in Windows.

More Information


More information on the CIM_DataFile class, http://msdn.microsoft.com/en-us/library/aa387236(v=vs.85).aspx