Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

IoIsFileOriginRemote routine

The IoIsFileOriginRemote routine determines whether a given file object is for a remote create request.

Syntax


BOOLEAN IoIsFileOriginRemote(
  _In_  PFILE_OBJECT FileObject
);

Parameters

FileObject [in]

Pointer to a file object for the file.

Return value

IoIsFileOriginRemote returns TRUE if the file object was created to satisfy a remote create request, otherwise FALSE.

Remarks

File system filter drivers call IoIsFileOriginRemote for a file object to determine whether it represents a remote create request.

IoIsFileOriginRemote must be called after the create request has entirely completed. In other words, it cannot be called in the create dispatch ("pre-create") path or the create completion ("post-create") path.

IoIsFileOriginRemote checks the FO_REMOTE_ORIGIN flag on the file object pointed to by FileObject. Network file systems set or clear this flag by calling IoSetFileOrigin.

Requirements

Version

This routine is available on Microsoft Windows XP and later.

Header

Ntddk.h (include Ntddk.h, Ntifs.h, or Fltkernel.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

IoSetFileOrigin

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.