summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_istat.h8
-rw-r--r--include/ntapi/ntapi.h1
-rw-r--r--src/fs/ntapi_tt_istat.c27
-rw-r--r--src/internal/ntapi.c1
-rw-r--r--src/internal/ntapi_fnapi.h1
5 files changed, 0 insertions, 38 deletions
diff --git a/include/ntapi/nt_istat.h b/include/ntapi/nt_istat.h
index ade7404..f1a9b24 100644
--- a/include/ntapi/nt_istat.h
+++ b/include/ntapi/nt_istat.h
@@ -34,12 +34,4 @@ typedef int32_t __stdcall ntapi_tt_istat(
__in uint32_t buffer_size,
__in uint32_t flags);
-
-typedef int32_t __stdcall ntapi_tt_validate_fs_handle(
- __in void * hfile,
- __in uint32_t dev_name_hash,
- __in nt_fii fii,
- __out uintptr_t * buffer,
- __in uint32_t buffer_size);
-
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index ea4f4b9..5b19340 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -562,7 +562,6 @@ typedef struct _ntapi_vtbl {
/* nt_istat.h */
ntapi_tt_istat * tt_istat;
- ntapi_tt_validate_fs_handle * tt_validate_fs_handle;
/* nt_stat.h */
ntapi_tt_stat * tt_stat;
diff --git a/src/fs/ntapi_tt_istat.c b/src/fs/ntapi_tt_istat.c
index 83c7f9a..5e6df3d 100644
--- a/src/fs/ntapi_tt_istat.c
+++ b/src/fs/ntapi_tt_istat.c
@@ -126,30 +126,3 @@ int32_t __stdcall __ntapi_tt_istat(
return status;
}
-
-
-int32_t __stdcall __ntapi_tt_validate_fs_handle(
- __in void * hfile,
- __in uint32_t dev_name_hash,
- __in nt_fii fii,
- __out uintptr_t * buffer,
- __in uint32_t buffer_size)
-{
- int32_t status;
- nt_istat istat;
-
- status = __ntapi->tt_istat(
- hfile,
- &istat,sizeof(istat),
- buffer,buffer_size,
- NT_ISTAT_DEFAULT);
-
- if (status) return status;
-
- if (istat.fii.index_number.quad != fii.index_number.quad)
- return NT_STATUS_CONTEXT_MISMATCH;
- else if (istat.dev_name_hash != dev_name_hash)
- return NT_STATUS_CONTEXT_MISMATCH;
-
- return NT_STATUS_SUCCESS;
-}
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index e491bff..a4f6ac8 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -330,7 +330,6 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
/* nt_istat.h */
__ntapi->tt_istat = __ntapi_tt_istat;
- __ntapi->tt_validate_fs_handle = __ntapi_tt_validate_fs_handle;
/* nt_stat.h */
__ntapi->tt_stat = __ntapi_tt_stat;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 8715b7a..6b90734 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -231,7 +231,6 @@ ntapi_tt_get_dos_drive_letter_from_device __ntapi_tt_get_dos_drive_letter_from_d
/* nt_istat.h */
ntapi_tt_istat __ntapi_tt_istat;
-ntapi_tt_validate_fs_handle __ntapi_tt_validate_fs_handle;
/* nt_stat.h */
ntapi_tt_stat __ntapi_tt_stat;