WdfFileObjectGetRelatedFileObject method

[Applies to UMDF only]

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

Syntax


WDFFILEOBJECT WdfFileObjectGetRelatedFileObject(
  [in]  WDFFILEOBJECT FileObject
);

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.

Requirements

Minimum support

Windows 8.1

Minimum UMDF version

2.0

Header

Wdffileobject.h (include Wdf.h)

Library

WUDFx02000.lib

DLL

WUDFx02000.dll

IRQL

PASSIVE_LEVEL

See also

WdfFileObjectGetFileName

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft