mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Move win32 definitions to nearest include.
This commit is contained in:
29
setter/src/win32/sparse.h
Normal file
29
setter/src/win32/sparse.h
Normal file
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// Created by claunia on 11/3/21.
|
||||
//
|
||||
|
||||
#ifndef SETTER_SRC_WIN32_SPARSE_H_
|
||||
#define SETTER_SRC_WIN32_SPARSE_H_
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "win32.h"
|
||||
|
||||
#ifndef FSCTL_SET_SPARSE
|
||||
#define FSCTL_SET_SPARSE 0x000900C4
|
||||
#endif
|
||||
|
||||
#ifndef FSCTL_SET_ZERO_DATA
|
||||
#define FSCTL_SET_ZERO_DATA 0x000900C8
|
||||
#endif
|
||||
|
||||
#define FSCTL_SET_SPARSE_OLD 0x000980C4
|
||||
#define FSCTL_SET_ZERO_DATA_OLD 0x000980C8
|
||||
|
||||
typedef struct _WINNT_FILE_ZERO_DATA_INFORMATION
|
||||
{
|
||||
LARGE_INTEGER FileOffset;
|
||||
LARGE_INTEGER BeyondFinalZero;
|
||||
} WINNT_FILE_ZERO_DATA_INFORMATION, *PWINNT_FILE_ZERO_DATA_INFORMATION;
|
||||
|
||||
#endif // SETTER_SRC_WIN32_SPARSE_H_
|
||||
Reference in New Issue
Block a user