1 #ifndef __INCLUDE_NAPI_TYPES_H
2 #define __INCLUDE_NAPI_TYPES_H
4 // these should be moved to a file like ntdef.h
10 DIRECTORY_CREATE_OBJECT,
11 DIRECTORY_CREATE_SUBDIRECTORY,
16 * General type for status information
19 typedef enum _NT_PRODUCT_TYPE
24 } NT_PRODUCT_TYPE, *PNT_PRODUCT_TYPE;
28 typedef const int CINT;
29 typedef LONG NTSTATUS, *PNTSTATUS;
30 typedef ULONG DEVICE_TYPE;
32 /* File information for IRP_MJ_QUERY_INFORMATION (and SET) */
33 typedef enum _FILE_INFORMATION_CLASS
35 FileDirectoryInformation = 1,
36 FileFullDirectoryInformation,
37 FileBothDirectoryInformation,
39 FileStandardInformation,
40 FileInternalInformation,
42 FileAccessInformation,
44 FileRenameInformation,
47 FileDispositionInformation,
48 FilePositionInformation,
49 FileFullEaInformation,
51 FileAlignmentInformation,
53 FileAllocationInformation,
54 FileEndOfFileInformation,
55 FileAlternateNameInformation,
56 FileStreamInformation,
58 FilePipeLocalInformation,
59 FilePipeRemoteInformation,
60 FileMailslotQueryInformation,
61 FileMailslotSetInformation,
62 FileCompressionInformation,
63 FileObjectIdInformation,
64 FileCompletionInformation,
65 FileMoveClusterInformation,
67 FileReparsePointInformation,
68 FileNetworkOpenInformation,
69 FileAttributeTagInformation,
70 FileTrackingInformation,
71 FileIdBothDirectoryInformation,
72 FileIdFullDirectoryInformation,
73 FileValidDataLengthInformation,
74 FileShortNameInformation,
75 FileMaximumInformation,
76 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
78 typedef enum _SECTION_INHERIT {
84 typedef struct _TIME {
90 typedef ULARGE_INTEGER TIME, *PTIME;
93 /* W32 XP has 'LARGE_INTEGER' although it could be 'ULARGE_INTEGER' before */
94 typedef LARGE_INTEGER TIME, *PTIME;
96 #endif /* !__USE_W32API */
98 #endif /* __INCLUDE_NAPI_TYPES_H */