Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

nodetype.h

Go to the documentation of this file.
00001 /*++ BUILD Version: 0000 // Increment this if a change has global effects 00002 00003 Copyright (c) 1989 Microsoft Corporation 00004 00005 Module Name: 00006 00007 NodeType.h 00008 00009 Abstract: 00010 00011 This module defines all of the node type codes used in this development 00012 shell. Every major data structure in the file system is assigned a node 00013 type code that is. This code is the first CSHORT in the structure and is 00014 followed by a CSHORT containing the size, in bytes, of the structure. 00015 00016 Author: 00017 00018 Brian Andrew [BrianAn] 20-June-1991 00019 00020 Revision History: 00021 00022 --*/ 00023 00024 #ifndef _NODETYPE_ 00025 #define _NODETYPE_ 00026 00027 typedef CSHORT NODE_TYPE_CODE; 00028 typedef NODE_TYPE_CODE *PNODE_TYPE_CODE; 00029 00030 #define NTC_UNDEFINED ((NODE_TYPE_CODE)0x0000) 00031 00032 #define LFS_NTC_LCB ((NODE_TYPE_CODE)0x800) 00033 #define LFS_NTC_LCH ((NODE_TYPE_CODE)0x801) 00034 #define LFS_NTC_LBCB ((NODE_TYPE_CODE)0x802) 00035 #define LFS_NTC_LFCB ((NODE_TYPE_CODE)0x803) 00036 #define LFS_NTC_DATA ((NODE_TYPE_CODE)0x804) 00037 00038 typedef CSHORT NODE_BYTE_SIZE; 00039 00040 // 00041 // So all records start with 00042 // 00043 // typedef struct _RECORD_NAME { 00044 // NODE_TYPE_CODE NodeTypeCode; 00045 // NODE_BYTE_SIZE NodeByteSize; 00046 // 00047 // } RECORD_NAME; 00048 // typedef RECORD_NAME *PRECORD_NAME; 00049 // 00050 00051 #define NodeType(Ptr) (*((PNODE_TYPE_CODE)(Ptr))) 00052 00053 #endif // _NODETYPE_ 00054

Generated on Sat May 15 19:40:57 2004 for test by doxygen 1.3.7