You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
786 B
59 lines
786 B
// oidtst.h
|
|
|
|
|
|
#ifndef _OIDTST_H_
|
|
#define _OIDTST_H_
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <nt.h>
|
|
#include <ntrtl.h>
|
|
#include <nturtl.h>
|
|
#include <windows.h>
|
|
|
|
#include <ntioapi.h>
|
|
|
|
|
|
int
|
|
FsTestDecipherStatus(
|
|
IN NTSTATUS Status
|
|
);
|
|
|
|
void
|
|
FsTestHexDump (
|
|
IN UCHAR *Buffer,
|
|
IN ULONG Size
|
|
);
|
|
|
|
void
|
|
FsTestHexDumpLongs (
|
|
IN ULONG *Buffer,
|
|
IN ULONG SizeInBytes
|
|
);
|
|
|
|
int
|
|
FsTestSetOid(
|
|
IN HANDLE hFile,
|
|
IN FILE_OBJECTID_BUFFER ObjectIdBuffer
|
|
);
|
|
|
|
int
|
|
FsTestGetOid(
|
|
IN HANDLE hFile,
|
|
IN FILE_OBJECTID_BUFFER *ObjectIdBuffer
|
|
);
|
|
|
|
int
|
|
FsTestOpenByOid (
|
|
IN UCHAR *ObjectId,
|
|
IN ULONG ArgLength,
|
|
IN PWCHAR DriveLetter
|
|
);
|
|
|
|
int
|
|
FsTestDeleteOid(
|
|
IN HANDLE hFile
|
|
);
|
|
|
|
#endif
|
|
|