WdfFileObjectGetRelatedFileObject - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdffileobject.h

WDFFILEOBJECT WdfFileObjectGetRelatedFileObject(
  [in] WDFFILEOBJECT FileObject
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdffileobject-wdffileobjectgetrelatedfileobject)

WdfFileObjectGetRelatedFileObject function

Description

[Applies to UMDF only]

The WdfFileObjectGetRelatedFileObject method retrieves the related file object to a framework file object.

Parameters

FileObject [in]

A handle to a framework file object.

Return value

WdfFileObjectGetRelatedFileObject returns a handle to the related file object to a framework file object.

Remarks

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.

See also

WdfFileObjectGetFileName