diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/ntapi_tt_istat.c | 27 | ||||
-rw-r--r-- | src/internal/ntapi.c | 1 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 1 |
3 files changed, 0 insertions, 29 deletions
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; |