IWDFFile2 interface (wudfddi.h)

[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]

Drivers obtain the IWDFFile2 interface by calling IWDFFile::QueryInterface.

Inheritance

The IWDFFile2 interface inherits from IWDFFile. IWDFFile2 also has these types of members:

  • Methods

Methods

The IWDFFile2 interface has these methods.

 
IWDFFile2::GetRelatedFileObject

The GetRelatedFileObject method retrieves the IWDFFile interface of a related file object, which is a file object that has a technology-specific relationship with another file object.
IWDFFile2::RetrieveCountedFileName

The RetrieveCountedFileName method retrieves the full counted file name for a file that is associated with a device.

Requirements

Requirement Value
End of support Unavailable in UMDF 2.0 and later.
Target Platform Desktop
Minimum UMDF version 1.9
Header wudfddi.h