// wdffileobject.h
WDFFILEOBJECT WdfFileObjectGetRelatedFileObject(
[in] WDFFILEOBJECT FileObject
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to UMDF only]
The WdfFileObjectGetRelatedFileObject method retrieves the related file object to a framework file object.
FileObject [in]A handle to a framework file object.
WdfFileObjectGetRelatedFileObject returns a handle to the related file object to a framework file object.
Use of related file objects is technology-specific. For example, kernel streaming uses related file objects to represent the parent filters of child pins.
For more information about related file objects, see the GetRelatedFileObject member of the kernel-mode FILE_OBJECT structure.