WdfFileObjectGetRelatedFileObject function

[Applies to UMDF only]

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

Syntax

WDFFILEOBJECT WdfFileObjectGetRelatedFileObject(
  WDFFILEOBJECT FileObject
);

Parameters

FileObject

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.

Requirements

   
Windows version Windows 8.1
Target Platform Universal
Minimum UMDF version 2.0
Header wdffileobject.h (include Wdf.h)
Library WUDFx02000.lib
DLL WUDFx02000.dll; TBD
IRQL PASSIVE_LEVEL

See Also

WdfFileObjectGetFileName