VerifierNtCreateFile

NTSTATUS __stdcall VerifierNtCreateFile(
        PVOID *FileHandle,
        UINT64 DesiredAccess,
        OBJECT_ATTRIBUTES *ObjectAttributes,
        IO_STATUS_BLOCK *IoStatusBlock,
        LARGE_INTEGER *AllocationSize,
        UINT64 FileAttributes,
        UINT64 ShareAccess,
        UINT64 CreateDisposition,
        UINT64 CreateOptions,
        PVOID EaBuffer,
        UINT64 EaLength){
  unsigned int v13; 
  char pszDest[40]; 
  UINT64 retaddr; 
  v13 = DesiredAccess;
  if( (MmVerifierData & 0x10) != 0 && KeGetCurrentIrql() )
  {
    ViErrorDisplayDescription(586);
    if( (int)RtlStringCbPrintfA(pszDest, 0x26ui64, (INT8 *)"CulpritAddress = %p.\n") >= 0 )
      VfUtilDbgPrint(pszDest);
    ViErrorFinishReport(586i64, retaddr, 0i64, 0i64);
  }
  return((__int64(__fastcall *)(PVOID *, _QWORD, OBJECT_ATTRIBUTES *, IO_STATUS_BLOCK *, LARGE_INTEGER *, _DWORD, _DWORD, _DWORD, _DWORD, PVOID, _DWORD))pXdvNtCreateFile)(
           FileHandle,
           v13,
           ObjectAttributes,
           IoStatusBlock,
           AllocationSize,
           FileAttributes,
           ShareAccess,
           CreateDisposition,
           CreateOptions,
           EaBuffer,
           EaLength);
}

Referenced by:

No references.