IoGetOplockKeyContextEx routine

The IoGetOplockKeyContextEx routine returns a parent and target oplock key context for a file object.

Syntax


POPLOCK_KEY_CONTEXT IoGetOplockKeyContextEx(
   PFILE_OBJECT FileObject
);

Parameters

FileObject

The file object to query for an oplock key context.

Return value

An pointer to an OPLOCK_KEY_CONTEXT structure containing the oplock keys for FileObject. Otherwise, NULL if FileObject has no oplock keys.

Requirements

Target platform

Universal

Version

The IoGetOplockKeyContextEx routine is available starting with Windows 8.

Header

Ntddk.h

Library

Ntoskrnl.lib

IRQL

<= DISPATCH_LEVEL

See also

DUAL_OPLOCK_KEY_ECP_CONTEXT
OPLOCK_KEY_ECP_CONTEXT
OPLOCK_KEY_CONTEXT

 

 

Send comments about this topic to Microsoft

Show: