VrpLockJobContextExclusive

errno_t __stdcall VrpLockJobContextExclusive(
        PWCHAR FullPath,
        PWCHAR Drive,
        SIZE_T DriveSize,
        PWCHAR Dir,
        SIZE_T DirSize,
        PWCHAR Filename,
        SIZE_T FilenameSize,
        PWCHAR Ext,
        SIZE_T ExtSize,
        INT64 wtoi,
        PWCHAR Str){
  _ETHREAD *CurrentThread; 
  errno_t result; 
  CurrentThread = (_ETHREAD *)KeGetCurrentThread();
  --*((_WORD *)CurrentThread + 242);
  ExAcquirePushLockExclusiveEx((UINT64)(FullPath + 8), 0i64);
  return result;
}

Referenced by:

VrpHandleIoctlCreateMultipleNamespaceNodes
VrpHandleIoctlCreateNamespaceNode
VrpHandleIoctlInitializeJobForVreg
VrpHandleIoctlLoadDifferencingHive
VrpHandleIoctlUnloadDynamicallyLoadedHives