// This is just an excerpt from the real NtObj.h file. // The complete version will be published in a separate project. // __________________________________________________________ // // NtObj.h // Windows NT Object Definitions V1.00 // 11-15-1998 Sven B. Schreiber // sbs@orgon.com // __________________________________________________________ #ifndef _NTOBJ_H_ #define _NTOBJ_H_ // ================================================================= // DISCLAIMER // ================================================================= /* This software is provided "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantibility and fitness for a particular purpose are disclaimed. In no event shall the author Sven B. Schreiber be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. */ // ================================================================= // REVISION HISTORY // ================================================================= /* 11-15-1998 V1.00 Original version (SBS). */ // ================================================================= // OBJECT TYPE CODES // ================================================================= #define OB_TYPE_TYPE 1 #define OB_TYPE_DIRECTORY 2 #define OB_TYPE_SYMBOLIC_LINK 3 #define OB_TYPE_TOKEN 4 #define OB_TYPE_PROCESS 5 #define OB_TYPE_THREAD 6 #define OB_TYPE_EVENT 7 #define OB_TYPE_EVENT_PAIR 8 #define OB_TYPE_MUTANT 9 #define OB_TYPE_SEMAPHORE 10 #define OB_TYPE_TIMER 11 #define OB_TYPE_PROFILE 12 #define OB_TYPE_WINDOW_STATION 13 #define OB_TYPE_DESKTOP 14 #define OB_TYPE_SECTION 15 #define OB_TYPE_KEY 16 #define OB_TYPE_PORT 17 #define OB_TYPE_ADAPTER 18 #define OB_TYPE_CONTROLLER 19 #define OB_TYPE_DEVICE 20 #define OB_TYPE_DRIVER 21 #define OB_TYPE_IO_COMPLETION 22 #define OB_TYPE_FILE 23 // ================================================================= // OBJECT STRUCTURES // ================================================================= typedef struct _OBJECT_ATTRIBUTES { DWORD Length; HANDLE RootDirectory; PUNICODE_STRING ObjectName; DWORD Attributes; PVOID SecurityDescriptor; PVOID SecurityQualityOfService; } OBJECT_ATTRIBUTES, * POBJECT_ATTRIBUTES, **PPOBJECT_ATTRIBUTES; #define OBJECT_ATTRIBUTES_ \ sizeof (OBJECT_ATTRIBUTES) // ================================================================= // END OF MAIN #ifndef CLAUSE // ================================================================= #endif // _NTOBJ_H_ // ================================================================= // END OF FILE // =================================================================