Bewerken

Delen via


WdfFileObjectGetRelatedFileObject function (wdffileobject.h)

[Applies to UMDF only]

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

Syntax

WDFFILEOBJECT WdfFileObjectGetRelatedFileObject(
  [in] WDFFILEOBJECT FileObject
);

Parameters

[in] 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

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

See also

WdfFileObjectGetFileName