FsRtlPrivateLock function (ntifs.h)

The FsRtlPrivateLock routine is obsolete, but is exported to support existing driver binaries. Use FsRtlFastLock instead.

Syntax

BOOLEAN FsRtlPrivateLock(
  PFILE_LOCK             FileLock,
  PFILE_OBJECT           FileObject,
  PLARGE_INTEGER         FileOffset,
  PLARGE_INTEGER         Length,
  PEPROCESS              ProcessId,
  ULONG                  Key,
  BOOLEAN                FailImmediately,
  BOOLEAN                ExclusiveLock,
  PIO_STATUS_BLOCK       Iosb,
  PIRP                   Irp,
  __drv_aliasesMem PVOID Context,
  BOOLEAN                AlreadySynchronized
);

Parameters

FileLock

Reserved.

FileObject

Reserved.

FileOffset

Reserved.

Length

Reserved.

ProcessId

Reserved.

Key

Reserved.

FailImmediately

Reserved.

ExclusiveLock

Reserved.

Iosb

Reserved.

Irp

Reserved.

Context

Reserved.

AlreadySynchronized

Reserved.

Return value

Reserved.

Requirements

Requirement Value
Target Platform Windows
Header ntifs.h (include Ntifs.h)
DDI compliance rules HwStorPortProhibitedDDIs(storport), ObsoleteDDIs(wdm), ReservedDDIs(wdm)