1 #ifndef __INCLUDE_NAPI_TYPES_H
2 #define __INCLUDE_NAPI_TYPES_H
4 // these should be moved to a file like ntdef.h
6 typedef const int CINT;
8 typedef LONG NTSTATUS, *PNTSTATUS;
10 typedef ULONG DEVICE_TYPE;
20 DIRECTORY_CREATE_OBJECT,
21 DIRECTORY_CREATE_SUBDIRECTORY,
26 * General type for status information
28 //typedef LONG NTSTATUS;
30 typedef struct _UNICODE_STRING
35 } UNICODE_STRING, *PUNICODE_STRING;
37 typedef enum _SECTION_INHERIT {
42 typedef enum _NT_PRODUCT_TYPE
47 } NT_PRODUCT_TYPE, *PNT_PRODUCT_TYPE;
49 /* File information for IRP_MJ_QUERY_INFORMATION (and SET) */
50 typedef enum _FILE_INFORMATION_CLASS
52 FileDirectoryInformation = 1,
53 FileFullDirectoryInformation,
54 FileBothDirectoryInformation,
56 FileStandardInformation,
57 FileInternalInformation,
59 FileAccessInformation,
61 FileRenameInformation,
64 FileDispositionInformation,
65 FilePositionInformation,
66 FileFullEaInformation,
68 FileAlignmentInformation,
70 FileAllocationInformation,
71 FileEndOfFileInformation,
72 FileAlternateNameInformation,
73 FileStreamInformation,
75 FilePipeLocalInformation,
76 FilePipeRemoteInformation,
77 FileMailslotQueryInformation,
78 FileMailslotSetInformation,
79 FileCompressionInformation,
80 FileCopyOnWriteInformation,
81 FileCompletionInformation,
82 FileMoveClusterInformation,
83 FileOleClassIdInformation,
84 FileOleStateBitsInformation,
85 FileNetworkOpenInformation,
86 FileObjectIdInformation,
87 FileOleAllInformation,
88 FileOleDirectoryInformation,
89 FileContentIndexInformation,
90 FileInheritContentIndexInformation,
92 FileMaximumInformation,
93 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
95 typedef ULONG WAIT_TYPE;
96 typedef USHORT CSHORT;
100 typedef struct _TIME {
106 typedef ULARGE_INTEGER TIME, *PTIME;
108 #endif /* __INCLUDE_NAPI_TYPES_H */